Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Form return value
Message
De
07/08/2007 14:11:33
 
 
À
06/08/2007 21:58:08
Alan Harris-Reid
Baseline Data Services
Devon, Royaume Uni
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
01246371
Message ID:
01246558
Vues:
76
Call the form after initializing the value to something that would not be returned:
LOCAL lcReturnValue
lcReturnValue = "No Return Value"
DO FORM MyForm WITH var1, var2, var3 TO lcReturnValue
IF lcReturnValue = "No Return Value"
  * Form did not return a value -- cancelled in Init event
ELSE
  * Form executed and returned a value
ENDIF
Then if you do not want the form to display, execute

RETURN .F.

in the Init event of the form.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform