Not exactly. The NEWOBJECT()/ADDOBJECT() method adds an object as a child to the parent object 'This'. That's the only way to add controls to a form at runtime.
The NEWOBJECT()/CREATEOBJECT() functions create an object with no releation to the 'This'. The reference to the object than is stored in the .myProperty
>
>This.myProperty = NEWOBJECT( "myClass", "myClassLib" )
>
>This.NewObject( "myProperty", "myClass", "myClassLib" )
>
>
>Are the two statements above same? If not, how are they different? Can they be used interchangeably?
>
--sb--