Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Drag and Drop Between Controls
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00914028
Message ID:
00921717
Vues:
17
>>Hi Nick and all,
>>
>>I noticed that many examples of drag and drop (including the one Nick you showed me of your Universal Drag and Dropper Demo Form) use the right mouse button instead of the left. Is that a MSFT standard? Should I stick to only allowing drag and drop with the right mouse button?
>
>Hi Tracy,
>
>My take is that right click is less intrusive to the normal user workflow.

In addition to the previous message that I quickly typed in the Internet cafe in Paris. :)

Another reason for using the right mouse button for Drag & Drop is that: if theoretically it is possible to use the other mouse buttons (UDD class even has the .nMouseDragButton property, so you can assign left, right or middle button), then practically it does not work.

In practice, if you try to use left button for dragging, it interferes with the default Windows function of selection the text in textbox or editbox and works for dragging only for the listbox. Using middle mouse button typically interferes with the different mouse scrolling utilities.

So, the real solution is to use the Right mouse button.
Nick Neklioudov
Universal Thread Consultant
3 times Microsoft MVP - Visual FoxPro

"I have not failed. I've just found 10,000 ways that don't work." - Thomas Edison
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform