Information générale
Catégorie:
Gestionnaire d'écran & Écrans
Versions des environnements
>Hi All
>
>I am setting up a form allowing a user to move command buttons on a form. I want then to change permanently the buttons location, I intend to store this in s dbf file. What is the mothd that occurs after 1 release the mouse when I move the command button to its new location?
VFP supports two mechanisms for drag and drop, a native technique and OLE drag and drop. The OLE version is more capable and can work across applications. It's also a little harder to learn, but my take is that it's worth the effort. (If you have the Hacker's Guide, you'll find an overview in the topic "OLE drag and drop" in the Reference section.)
In the native version, the event you're looking for is DragDrop. For the OLE version, it's OLEDragDrop.
Tamar
Précédent
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement