>>
>>I can successfully assign the property in a treeview,
>>the problem I'm having is once having assigned it, to
>>set it back to nothing (.null).
>Tom,
>I'm always in trouble with treeview. I can set it to "nothing" with a dummy workaround :
with ThisForm.Oletreeview
> oNode = .nodes.add(,1,"myDummy")
> .drophighlight = oNode
> .nodes.remove(oNode.key)
>endwith
BTW could you assign it with hittest ?
>Cetin
Cetin,
I had the same problem if I assigned it with hittest.
Don't understand why the 2nd line produces an error. This code is executed before a node object is ever assigned to the drophighlight property and has a null value.
l_o = ThisForm.oletreeview.drophighlight
ThisForm.oletreeview.drophighlight = l_o && error generated
Thanks for the workaround suggestion. The users will never no the difference.