Lazarus allows to set 'state image index' per each node.
if >= 0, it shows 2nd icon.
here I set 'state image index' to blue icon for 2 nodes (one node also has normal red icon):
and, Lazarus supports 'selected image index' per each node. this imageindex is used (for 'normal' icon) when item is selected. add it too. IMO this 'selected index' is not needed in API.
Lazarus allows to set 'state image index' per each node. if >= 0, it shows 2nd icon. here I set 'state image index' to blue icon for 2 nodes (one node also has normal red icon):
and, Lazarus supports 'selected image index' per each node. this imageindex is used (for 'normal' icon) when item is selected. add it too.IMO this 'selected index' is not needed in API.