>Thanks, but I get some strange results when I put the code in that method. Sometimes the drag/drop will work and other times it does not nothing. Is that the only way to run the nodeclick() when the user initiates a drag/drop from a source treeview to a destination treeview? Basically I need to know the value of the item (display value) that the user is trying to drag over to the 2nd treeview. I have code in the nodeclick that does that and also displays related information on other textboxes on the form so initiating nodeclick should work.
>
>Basically, if the user has one item selected in the 1st treeview but drags ANOTHER item in the treeview over to the destination treeview, I need to know to process based on the item he dragged and not on the selected item in the treeview...
Hi Tracy,
Try this:
If (state == 0)
oNode = This.HitTest( x*15, y*15 )
If !IsNull( oNode )
This.NodeClick( oNode )
endif
endif
HTH
Herman