Information générale
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
Returning absolute name of object
Does anybody know how to return the absolute name of a control on a form ?
For example, thisform.activecontrol.name will return the name of the control that currently has the focus, rather like _curobj. However, if that object is a member of a container, or perhaps it's on a pageframe, only name of the control itself is returned, and not the entire dynamic name.
So, if I place a text box called 'tbx1general1' on a pageframe called 'pgf1general1', and then in the gotfocus() of 'tbxgeneral1' I executed 'wait thisform.activecontrol.name window', I would expect to see 'tbx1general1'. However, I would actually like to see 'thisform.pgf1general1.tbx1general1'.
Any ideas ??????????
Regards
Derek
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