Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Drag and drop
Message
From
18/10/2006 10:15:22
 
 
To
18/10/2006 09:37:13
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Environment versions
Visual FoxPro:
VFP 9
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01162887
Message ID:
01162940
Views:
15
>>I want to make a form where I have a painting area and a couple of buttons on the left
>>if I click on a button I want to be able to drag it to the painting area and drop it
>>then I want to get the left and top and create a button on this place. then I intend to bring up a dialog (property sheet) where I can add some other properties to be saved in a table.
>>this is to lay out a custom form of action buttons.
>>
>>has anybody done something like this and is willing to help?
>>
>>drag and dragdrop seemed to be th places to hook into but they seem not to fire :-)
>>
>
>First, you're probably better off using the OLE drag-and-drop methods than the native ones. They give you finer control over the process. The key to making it work is the OLEDragMode and OLEDropMode settings.
>
>You have HackFox, don't you? Read the section on OLE drag and drop.
>
>Tamar

Yes I do (actually I have ALL Hentzen books)
I have a container control on my form onto which I want to be able to add a button
on the form itself (like a pallet) I have a button
now at runtime I want to ba able to grab the button on the left and drag it onto the container
when I let go og the mouse I want a buttoncontrol added to the container on the locatio where I dropped it.
the container.dropmode=1
but I cannot drag anythin onto it, like it's not drop enabled
weird!


Peter
Peter Cortiel
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform