>I have a form that allows the user to pick different nodes from a TreeView. When a node is selected its title and corresponding data is added to a ListBox on the same form. I only want to allow the user to select a node once. Is there anyway to disable a single node on the TreeView after it has been selected? i.e. is there anyway to change its color, its image, ect.? I'll also need to be able to re-enable it if it is removed from the listbox.
>
>Any help would be appreciated.
You could use some property of node to track selected (ie: bold, checked) When attempted to readd check that property. When removed from listbox set its property to unselected.
(or Remove & add node)
In both cases keep properties like ParentKey, Key in listbox for locating, adding, removing in treeview.
Cetin