Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to emulate DBC drag and drop
Message
From
20/06/2003 17:29:49
Gary Foster
Pointsource Consulting LLC
Chanhassen, Minnesota, United States
 
 
To
16/06/2003 15:42:33
Cindy Winegarden
Duke University Medical Center
Durham, North Carolina, United States
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00800358
Message ID:
00802467
Views:
17
Cindy,
Perhaps it's the Friday effect, but I'm baffled by the toolbox drag and drop code. I keep thinking "runtime" and that I need to use the DragDrop() on the target, in this case a class being worked on in design time. But DragDrop() doesn't need to know about the drop event using toolbox, etc. Hopefully, I'll be smarter in Monday and this will be obvious. Know of any VFP books that deal with design time drag and drop?

Thanks.

Gary



>>... I want to drag a field onto my target form in design mode. This works like a champ if the target form is instantiated with CreateObject(), but not in design mode. The DBC manages to do this, but I don't know how. In short, runtime lets me drag and drop, but not invoke a builder. Design time lets me invoke a builder, but not drag and drop. That's the problem. Thanks.
>
>Hi Gary,
>
>You can drag-drop from the VFP8 Toolbox and it will invoke a builder if you specify to do that. The Toolbox comes with source code so you could dig into that for how to make your code work.
Previous
Reply
Map
View

Click here to load this message in the networking platform