>I'm using a treeview as an alternative to a menu.
>
>Like in a menu, some items are not always available, and should be disabled and enabled according to rules in the program.
>
>Is this possible?
>
>TIA
Peter,
You can simulate :
-Set forecolor to gray
* oNode.Forecolor = rgb(172,168,153)
-In tree.Mousedown save selectednode
-In NodeClick if it's a disable node select saved one and return
If aDisabledNode
this.SelectedItem = this.SavedNode
return
Cetin