Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Drag and Drop Between Controls
Message
 
À
15/06/2004 15:29:19
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00914028
Message ID:
00914307
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,

I think the convention is that left mouse drag and drop performs a default action, whereas right mouse drag and drop offers a context menu, typically (but not necessarily) including Copy, Move, Create Shortcut, and Cancel. Also note the special key combinations, e.g. Ctrl + left drag and drop Copies, and there are others, but I don't recall them offhand. These are useful conventions when implemented properly. I found it to be quite tricky to override the default right-click context menu and actually make use of it in VFP6, but it can be done with a bit of a kludge.

Mike
Montage

"Free at last..."
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform