Like the title says: I've got a TTreeView with a bunch of nodes. Each node has an associated icon loaded from an image list.
Whenever a node is selected, I see the node's text but the icon vanishes.
The nodes are added programmatically as follows:
aNode := TreeView.Items.Add(Nil, 'Some Text');
aNode.ImageIndex := 10; //Could be any index in the image list
I've got the following options set:
tvoHideSelected := false;
tvoHotTrack := True;
tvoReadOnly := True;
tvo_ShowButtons := false;
tvo_ShowLines := false;
tvo_ShowRoot := false;
What am I missing?
Thanks