Information générale
Catégorie:
Codage, syntaxe et commandes
Titre:
How to store full object name
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
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement