I put the following code in the oledrag event of tree1 (the one the user clicks on, does not release the mouse button, and drags the item in the treeview over to tree2) but the nodeclick does not run:
LOCAL oNode
oNode=this.Hittest(x/96*1440,y/96*1440)
IF TYPE("oNode")="O" AND !ISNULL(oNode)
THIS.nodeclick(onode)
ENDIF
DODEFAULT()
My goal is that when a user clicks on a node in tree1 the nodeclick code will run prior to the drag and drop operation so that by the time the oledragdrop in tree2 runs (when the user releases the mouse button over a node in tree2) the code in the nodeclick in tree1 will have run. Since the user does not release the mouse button when doing drag and drop, the nodeclick never runs and I'm trying to find a way to do that...
.·*´¨)
.·`TCH
(..·*
010000110101001101101000011000010111001001110000010011110111001001000010011101010111001101110100
"When the debate is lost, slander becomes the tool of the loser." - Socrates
Vita contingit, Vive cum eo. (Life Happens, Live With it.)
"Life is not measured by the number of breaths we take, but by the moments that take our breath away." -- author unknown
"De omnibus dubitandum"