ExternalFunction( This ) function External Function lparameters loFromObject */ Get object hierarchy that you can later parse */ as you need lcHierarcy = sys(1272, loFromObject) */ Then you can get anything else from the object loFromObject.Parent loFromObject.Parent.OtherButton.Click() loFromObject.OtherProperty etc. etc.