>>>>When I use AddObject I have to provide a class for a new object. Can it be a class from a different vcx?
>>>>
>>>>Thanks
>>>
>>>Use NewObject in stead!
>>And how NewObject adds an object to the form's object colleciton?
>
>
>Not function, method.
>The same way as AddObject :o)
>thisform.NewObject("objName", [ClassName], [MyOtherClassLib.VCX])
Function/method... Whatever...!
Kidding aside, thanks for the corrections.