Information générale
Catégorie:
Contrôles ActiveX en VFP
>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
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement