Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Drag and Drop between ListBoxes
Message
From
03/11/2000 12:23:20
 
 
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00437729
Message ID:
00437732
Views:
20
>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.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform