Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Returning absolute name of object
Message
De
16/06/2000 06:09:38
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
Returning absolute name of object
Divers
Thread ID:
00381253
Message ID:
00381253
Vues:
53
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
Fil
Voir

Click here to load this message in the networking platform