Wow thanks, I coulnd't have been able to think this let alone working towards it. Thanks a lot. Does UT allow 5 stars instead of 2 <g>. Well Wishes.
>Something like
ooo = oTextBox.Parent
>DO WHILE ooo.BaseClass <> "Form"
> ooo = ooo.Parent
>ENDDO
>oForm = ooo
>
>
>>Sorry for sounding dumb but how? This textbox is on a page in a pageframe on a form. THIS.oObject I guess is the TextBox object how would I refernce this.oobject to its THISFORM, that should be nice forget constant heirarchy.
>>
>>>>Hi All
>>>>
>>>>I have a small textbox builder (based on BuilderB) of my own and works well. Now there is a property of the textbox of which the value is based on a value of the THISFORM.cproperty. How do I refer to the THSIFORM object from a builder for a TextBox. Only the textbox is the selected object.
>>>>
>>>>Please advise.
>>>
>>>I would check if oTextBox.Parent.BaseClass = "Form" and go up until I find a form.