[Lazarus] Treeview Node Image disappears on selected node.

cobines cobines at gmail.com
Tue Oct 25 16:44:24 CEST 2011


2011/10/25 Graeme Geldenhuys <graemeg.lists at gmail.com>:
> See the attached image. The selected node's normal image (not the
> state image) is not painted for the selected node. I'm using the
> latest Lazarus 0.9.30.x compiled with FPC 2.5.1 using GTK2 widgetset.

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.

--
cobines




More information about the Lazarus mailing list