When you use Thisform.Newobgect() or Thisform.Addobgect(), the object becomes a part of the form. That's the only way you can add form controls dynamically to a form.
With Addproperty() you only store a reference to an object. The form doesn't know anything about it.
>
>When I need to add an object to a form I can either:
>
>
THIS.ADDPROPERTY([oBjName], NEWOBJECT([ClassName], [cVcxSpec]))
>
>or
>
THIS.NEWOBJECT([oBjName], [ClassName], [cVcxSpec])
>
>I try to study the object added both ways in the debugger and I really can't figure out what is the difference between the two...
>
>Technically, is there any difference in the above?
>What should I consider when trying to choose either of the ways?
--sb--