Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Drag and drop in treeviews
Message
De
24/10/2008 12:14:14
 
 
À
24/10/2008 11:30:13
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
Information générale
Forum:
Visual FoxPro
Catégorie:
Contrôles ActiveX en VFP
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Network:
Windows 2008 Server
Database:
MS SQL Server
Divers
Thread ID:
01356825
Message ID:
01356961
Vues:
25
>>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
>
>Kjell,
>You can read the Treeview article and/or get the accompanying code from June 2001 issue of UT magazine (first issue). It has drag&drop in it.
>Cetin

I read this post other way :-(m maybe I am wrong but I think Kjeil wants to know what node he is dragging, not to highlight the node that is under mouse cursor. I never make CreateDragImage to work.
I searched almost everywhere to see how to create icon from the text of the select node. (something like whan you drag from Windows Explorer and see the name of the folder (file) you drag.
Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform