Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Drag and drop with treeview
Message
De
25/05/1999 09:51:32
 
 
À
25/05/1999 01:57:44
Information générale
Forum:
Visual FoxPro
Catégorie:
Contrôles ActiveX en VFP
Divers
Thread ID:
00222340
Message ID:
00222458
Vues:
18
>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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform