[Lazarus] Treeview Node Image disappears on selected node.

michael.vancanneyt at wisa.be michael.vancanneyt at wisa.be
Tue Oct 25 16:52:49 CEST 2011



On Tue, 25 Oct 2011, Graeme Geldenhuys wrote:

> On 25 October 2011 16:44, cobines wrote:
>>
>> The TreeNode has ImageIndex and SelectedIndex. First image is
>> displayed when node is not selected, second is displayed when image is
>> selected. If you want the image to be always displayed set both
>> indexes to the same value.
>
>
> Ah thanks for the explanation. Is that how Delphi works too?

Yes.

Michael.




More information about the Lazarus mailing list