On Wednesday 12 April 2017 19:47:12 Krzysztof wrote:
> Great, seems doable but can't understand ttreeitemedit1.itemlist.imnr_X
> policy. Can you explain that too?

The actual image number is the sum of the node image number and the state 
values either direct or the lookup value provided by TImageList.ImageLookup 
if it is not empty.
Assume an empty ImageLookup property, ItemList.imnr_selected = 1, -> the image 
number of a not selected node is the value in TListItem.imagenr, for a 
selected node it is TListItem.imagenr + 1.
Maybe there also should be imnr_active and imnr_focused for you.


Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
mseide-msegui-talk mailing list

Reply via email to