[Lazarus] Nodes and Image in TTreeview

Mattias Gaertner nc-gaertnma at netcologne.de
Fri Sep 20 09:23:18 CEST 2013


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




More information about the Lazarus mailing list