Hi,
I now understand the basics of the TreeView Component. The next step is inserting images. I found the following problems so far.
1. When you use 'AddChild' or 'AddChildObject' to add a node, The manual says that the new node is returned after the function is executed. But how can you instantly access this new node to set the ImageIndex?
2. When selecting a node in run time the ImageIndex is always set to 0. Why does this happen and how can you make sure that the ImageIndex remains the same?
Thanks for any advice!
I now understand the basics of the TreeView Component. The next step is inserting images. I found the following problems so far.
1. When you use 'AddChild' or 'AddChildObject' to add a node, The manual says that the new node is returned after the function is executed. But how can you instantly access this new node to set the ImageIndex?
2. When selecting a node in run time the ImageIndex is always set to 0. Why does this happen and how can you make sure that the ImageIndex remains the same?
Thanks for any advice!