Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Drag and drop with treeview
Message
From
25/05/1999 12:12:17
 
 
To
25/05/1999 01:57:44
General information
Forum:
Visual FoxPro
Category:
ActiveX controls in VFP
Miscellaneous
Thread ID:
00222340
Message ID:
00222537
Views:
19
>People ,
>
>I have a couple of problems with drag and drop operations
>in the treeview control , the problem is that when i start a
>drag operation (i drag the node) i want a reference of the node that i am dragging, so i put some code im my mousedown event of the treeview control something like this
>ox = this.selecteditem , but when i do that i get a reference of the previous selecteditem , i must first click on the nodes before i can
>do a drag operation .I even tried the hittest method in the mouseover
>event but i don't get a reference back , the only thing that the
>hittest method returns is a true , but i don't think that that is good . Can someone please tell me what am i doing wrong.
>
>regards ,
>
>David van der Vliet

David,

Might I suggest checking out Doug Hennigs web site for a good example.

http://www.stonefield.com/

I believe the treeview example is in the ActiveX download.

Joe
Previous
Reply
Map
View

Click here to load this message in the networking platform