Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Drag and drop with treeview
Message
From
25/05/1999 09:51:32
 
 
To
25/05/1999 01:57:44
General information
Forum:
Visual FoxPro
Category:
ActiveX controls in VFP
Miscellaneous
Thread ID:
00222340
Message ID:
00222458
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

Heh! This is whay the class browser doesn't let your drag from the treeview... but puts that little icon in the corner to use. There is a class in the files section called NDRAGGER that helps you set this up... but, basically, you can to determine what Node the mouse is over using the mouse position and pixels, etc.

My recomendation, if you can budget $400 or so, get DBI's component toolbox... there treeview is much better than MS's. Also, there are tons of other great controls in there... It should save you in time alot more than you spend on it!

BOb
Previous
Reply
Map
View

Click here to load this message in the networking platform