Hi Gerard,
Use function
SYS(1272,oObject).
MartinJ
>Hi.
>I want to store the full Hierarchical object name of a control to a form property , in the init of the form so I can use it subsequently.
>
>e.g. if I am in a textbox in a pageframe on a form, I want to be able to:
>
>ThisForm.MyObject = TheFullNameofThisContol
>
>Then ,in the init of the form, access this contol as:
>
>TheFullNameOfThisControl.Width = 30
>TheFullNameofThisControl.Visible = .f. etc
>
>I tried using just the name , but this is not sufficient as there could be multiple similar names in different containers.
>
>Regards,
>
>Gerard