Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Drag and Drop between ListBoxes
Message
De
03/11/2000 12:23:20
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00437729
Message ID:
00437732
Vues:
22
>Hi,
>
>Can anyone send me an example of dragging multiple, selected items from one Listbox to another. I am having trouble separating the click and drag events, not the actual copying of the items from one listbox to another.
>How does one distinguish between action of selecting items vs the drag operation?
>
>TIA

Set DragMode to 0 (manual)
in the MouseMove event add
LPARAMETERS tnButton, tnShift, tnXCoord, tnYCoord
IF tnButton = 1 AND tnShift = 0
   this.drag(1)
ELSE
   this.drag(0)
ENDIF
Insanity: Doing the same thing over and over and expecting different results.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform