Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Exclude a library?
Message
From
14/07/2004 10:09:21
Koos Veel
Gamma Research
Aruba
 
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00922154
Message ID:
00924199
Views:
23
>I just had an idea. I haven't tried this out, but it may work in your situation.
>
>In the DragDrop method of your form, how about if you call a method in the EXE that will add the object for you? You would pass it THIS (the object reference to the form), plus the parameters of the DragDrop method (oSource, nxCoord, nyCoord). You'd want to also have a NODEFAULT in the DragDrop on the form itself, so it doesn't try to add the object from there. The method in the EXE would look something like this:
>
>lparameters oForm, oObject, nxCoord, nyCoord
>
>oForm.AddObject('ObjectName',oObject)
>oForm.ObjectName.Top = nyCoord
>oForm.ObjectName.Left = nxCoord
>
Barbara,

thanks for your answer.
I don't think I need to got this far. This would allow the USER of the application to drop objects on the form and that is not necessary.
See my reply to your other message.


Koos.
Previous
Reply
Map
View

Click here to load this message in the networking platform