Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Drag and Drop Command Buttons
Message
De
11/01/2005 14:29:18
 
 
À
11/01/2005 13:51:33
Brian O'Donovan
Crescent Computers
Cork, Irlande
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Versions des environnements
Visual FoxPro:
VFP 8 SP1
Database:
Visual FoxPro
Divers
Thread ID:
00976105
Message ID:
00976117
Vues:
26
>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
Fil
Voir

Click here to load this message in the networking platform