Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Drag and Drop from Grid?
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00094802
Message ID:
00094988
Vues:
25
>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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform