Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Drag and Drop Command Buttons
Message
From
11/01/2005 14:29:18
 
 
To
11/01/2005 13:51:33
Brian O'Donovan
Crescent Computers
Cork, Ireland
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Environment versions
Visual FoxPro:
VFP 8 SP1
Database:
Visual FoxPro
Miscellaneous
Thread ID:
00976105
Message ID:
00976117
Views:
25
>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
Previous
Reply
Map
View

Click here to load this message in the networking platform