Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
DragDrop start on mouseclick
Message
 
À
17/06/1999 09:16:23
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00230830
Message ID:
00231245
Vues:
14
>Somebody has a good suggestion how to start the drag action on a listbox?
>Purpose is to click on the listbox with the mouse, have the clicked item selected and then start the drag operation.
>After all my trials it seems that Fox event handling stops on the MouseDown event when you press the mouse. Keeping the mouse button pressed prevents timer events and click from firing.
>So if you start the drag action (drag(1)) from within the mousedown event the clicked item in the listbox doesn't get selected.

I've got a class in the files section that shows how to do this. It contains two list boxes for drag and drop.
Nigel B Coates
NBC Software Services
Dublin, Ireland.
eMail: Nigel.Coates@NBCSoftware.com
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform