J
John
Hi,
I think it's simple task and I could not figure it out easily ... VB6 treeview used to have a expanded imageindex so it's easy ...
now, in VB.NET, I have folders and items in treeview, for item, I can set the imageindex = selectimageindex to make sure when the item is selected the image will not change.
but there is no way to set the folder easily ... I want to keep the folder's image as "open folder" image regardless if it's selected or not as long as it's expanded and use "close folder" image regardless if it's selected or not as long as it's collapsed.
Could someone help me on this?
Thanks!
John
I think it's simple task and I could not figure it out easily ... VB6 treeview used to have a expanded imageindex so it's easy ...
now, in VB.NET, I have folders and items in treeview, for item, I can set the imageindex = selectimageindex to make sure when the item is selected the image will not change.
but there is no way to set the folder easily ... I want to keep the folder's image as "open folder" image regardless if it's selected or not as long as it's expanded and use "close folder" image regardless if it's selected or not as long as it's collapsed.
Could someone help me on this?
Thanks!
John