>>Thanks, this is a bit neater until we figure out the proper way to do this. Anyone? Has anyone had problems releasing forms when you have "this.objref = thisform.txtMyTextBox" in controls?
>
>Forgive me for backpedaling a little here, but why are you setting up your addressing in this way to begin with?
Because the form will not form will not release if any of its child objects has an external reference. So instead of using a true VFP object reference the child object is referenced be name and then dereferenced via a with/endwith statement. Hope this Clarifies
Peter
Peter Stephens
Visual Records, Inc.
Lead Programmer for the general purpose record keeping system Visual Records. Written primarily in VFP 6.0 with a little C++.