Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
DO FORM NAME only work in Command Window?
Message
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
DO FORM NAME only work in Command Window?
Divers
Thread ID:
00000214
Message ID:
00000214
Vues:
119
I have been trying to learn VFP for the pat few days, and i keep running into the same problem ...
When I DO FORM within code the form name is not created with the form and the only way i can refer
to the form is with _SCREEN.ActiveForm or THISFORM directivess ... however this will not enable me
to refer to an object which does not have the focus ...

example: From the Command Window
DO FORM main1 NAME fmain - runs the form main1 and assigns the name fmain to the form
From Code within MAIN1
DO FORM edit1 NAME fedit - runs form edit1 and does not name the form fedit ... or even edit1!!

The DO FORM
NAME works fine through the command window but not through code ... am i
doing something wrong????

Any comments or suggestions are greatly anticipated and welcomed.

Email: arlo@eden.com

-arlo
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform