Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Lost object name
Message
De
05/02/1999 12:41:37
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
Lost object name
Divers
Thread ID:
00184432
Message ID:
00184432
Vues:
54
When I execute the statement:
DO FORM ENTRY NAME FRMENTRY

and then later try to set a variable to the active form's name:
lcActiveForm = _screen.activeform.name

lcActiveForm = 'ENTRY' instead of 'FRMENTRY' !!!!

ENTRY is not an object, FRMENTRY is though.

I need a function that returns 'FRMENTRY' instead so I can execute a statement like the one below that addresses the form object:

&lcActiveform..showtips = .T.

If the form is active I can do:
_screen.activeform.showtips = .T.

but I am storing the form objects name in charactor field in a table and need to be able to reference it without the form being the active form.

Any ideas?
"The most beautiful experience we can have is the mysterious ; it is the fundamental emotion which stands at the cradle of true art and true science." - Albert Einstein
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform