General information
Category:
Forms & Form designer
>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
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only