Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Drag and Drop from Grid?
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00094802
Message ID:
00094988
Views:
24
>Michael, it is not a big deal to DragDrop from Listbox since you know what is the current ListBox.Value, or DisplayValue
>
>*Listbox.MouseMove
>LPARAMETERS nButton, nShift, nXCoord, nYCoord
>if nButton = 1
>This.Drag()
>endif

Very helpful Nick, and I also checked out the docs on dragging and dropping - but I find that the listbox does not reliably select the current row when I click on it to drag it. As a matter of fact, when I click on it once to select it and then again to drag it - it STILL does not get the right row about 20% of the time.

I've got the listbox set to MANUAL for the DragMode property, and using this.drag() to initiate the drag in the MouseMove Method. Have you heard of this problem (or better yet - a solution)?

TIA
Kogo Michael Hogan

"Pinky, are you pondering what I'm pondering?"
I think so Brain, but "Snowball for Windows"?

Ideate Web Site
Previous
Reply
Map
View

Click here to load this message in the networking platform