Can TreeView Images change dynamically...
Can TreeView Images change dynamically...
I have my images working fine using the TreeView. I am able to set the icons when the Tree is loaded. Each level has its own image, and changes when clicked. What I would like to do is change the image based on an event or value of a variable. Lets say for example there are 10 servers listed in the Tree. By default the user will not be connected to the servers WSDL. After the User has initialized the connection to that server, is it possible to have that Image be changed to a new value?
Can TreeView Images change dynamically...
Yes you can change the node's image by changing the node's ImageIndex and SelectedImageIndex property. Just make sure the image is added to the ImageList first. David
David
SAPIEN Technologies, Inc.
SAPIEN Technologies, Inc.