>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.