Information générale
Catégorie:
Contrôles ActiveX en VFP
Titre:
Drag and drop in treeviews
Versions des environnements
Network:
Windows 2008 Server
Hallo everyone
How can I se witch node I am "draging" from a treeview?
Lets se if I can explain the problem with my (bad) english:
If node 1 is highlighted and I press the mousebutton and make a "drag and drop", I can use the information in treelist.selecteditem to se witch node I am dragging. So far so good...
But if node 1 is highlighted and I press the mousebutton over an other node, lets say node 3, without releasing the button, and make a "drag and drop", I can NOT use the information in treelist.selecteditem, because the information is still related to node 1. I must release the button over node 3 so the information in "selecteditem" can change to node 3.
The user does not do that. He just pres down the mousebutton on a node in the list, without releasing it, and make a drag. In this case, how can I se witch node he is draging?
This is working in Explorer, but not in my VFP-treeviews.
/Kjell
Suivant
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