>Going nuts with treeview control. How do you set DropHighLight to Nothing ?
>This works :
>oNode = somenode
>.DropHighLight = oNode
>oNode = .NULL.
>
>But not this one (either already .Null. or not):
>.DropHighLight = .NULL. && Type mismatch
>
>I could totally drop using drophighlight if you know a way to highlight current node when the treeview is disabled.
>Any help would be appreciated. TIA.
>Cetin
Cetin,
I don't know if this works with the TreeView for VFP 5, but in VFP6, we just set the HideSelection property to .F. and the TreeView maintains it's highlight when it doesn't have focus or when it's not enabled.