[Lazarus] Nodes and Image in TTreeview

Richard Mace richard.mace at gmail.com
Sat Sep 21 08:13:56 CEST 2013


That sorted it.
Thanks Mattias.

On 20 September 2013 08:23, Mattias Gaertner <nc-gaertnma at netcologne.de>wrote:

> On Fri, 20 Sep 2013 07:43:12 +0100
> Richard Mace <richard.mace at gmail.com> wrote:
>
> > Hi,
> > If I add Child nodes with images into a TTreeview, everything looks great
> > until I actually select the child node, at which point the image
> disappears
> > until I select another node. Then, the image comes back, but disappears
> on
> > the new node that I have just selected.
> > Is there a way of adjusting this so that the images always appear
> > regardless of if there selected or not?
>
> Set Node.SelectedIndex.
>
> Mattias
>
> --
> _______________________________________________
> Lazarus mailing list
> Lazarus at lists.lazarus.freepascal.org
> http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20130921/12b71e59/attachment-0003.html>


More information about the Lazarus mailing list