Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
DragDrop start on mouseclick
Message
 
To
17/06/1999 09:16:23
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00230830
Message ID:
00231245
Views:
13
>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
Previous
Reply
Map
View

Click here to load this message in the networking platform