Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Passing a parameter from one form to another.
Message
 
 
À
31/07/2001 17:32:47
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00538001
Message ID:
00538066
Vues:
9
>Hey Steve, Hilmar and Larry,
> I'm sorry you guys, I didn't explain that question better. Let start over again: I have a date entry form that calls another little form that checks for a password. If the password is valid I need to pass back to the calling form the value 1. If it is invalid, I need to pass back the value 0. Then the little password form releases. Thanks for your help, I really appreciate it.

This is something alittle different. Ex.
From Form1 method
do form form2 to MyVar
if MyVar = 0 then
   * do something
else
   * do something else
endif
Form2 must be modal. Store the validity of the password to a form-level property in Form2. In the Unload event of Form2, add the following:
return THIS.MyProperty
The Unload event is where you put code to return values.

HTH.
Larry Miller
MCSD
LWMiller3@verizon.net

Accumulate learning by study, understand what you learn by questioning. -- Mingjiao
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform