Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
SCX of current form
Message
 
 
À
18/04/2007 10:33:11
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivie
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Versions des environnements
Visual FoxPro:
VFP 6 SP5
Divers
Thread ID:
01217302
Message ID:
01217312
Vues:
11
Re: Get name of SCX Thread #897222 Message #897232

BTW, sys(1271, thisform) works for me.


>Is there some generic way of finding out the name of the currently running form? This would help me figure out in which of my hundreds of forms I have to make corrections.
>
>Help mentions sys(1271), and I tried both of the following:
>
>
>sys(1271, _vfp.ActiveForm)
>
>* and
>
>sys(1271, _vfp.ActiveForm.PgfPageFrame)
>
>
>... where the latter is an object found on many of my forms - including the form with which I tested. But while the debugger shows me an object for the expression alone (e.g., _vfp.ActiveForm.PgfPageFrame), the sys(1271, ...) function only gives me .F.
If it's not broken, fix it until it is.


My Blog
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform