>
> >When you use CreateObject(), the new object is not contained in the form
> container, so, you can not address it by thisform.NewObject...
> >
> Vlad,
> I found that out and that is exactly what I don't want to do ... call it by
> thisform.
>
> Thanks,
> Gene
Gene,
I have found that you can do the following in the load event:
Thisform.NewObject= createobject('NewObjectsClass')
and that you can then use the syntax
Thisform.Newobject.MethodOfNewObjec()
Not that NewObject is defined as a property of the form. I found this
out because I did not seem to be able to use the addobject method of the
form for some reason.
Marc
If things have the tendency to go your way, do not worry. It won't last. Jules Renard.