Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
DO FORM MyForm TO uResult--Undefined Variable
Message
De
14/09/1999 18:10:06
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00264264
Message ID:
00264708
Vues:
23
>Hi:
>
>When I perform a DO FORM MyForm TO uResult AND I have a RETURN .F. in the Init of the form, I get a variable undefined as uResult.
>
>For example:
>
>DO FORM MyForm TO uResult
>? TYPE("uResult") && Returns "U"
>
>In my InInit:
>
>IF lCondition
> Thisform.ReturnValue = "1"
> RETURN .F.
>ENDIF
>
>In my Unload event I have:
>
>RETURN Thisform.ReturnValue
>
>I need to capture a return value to uResult and return a .f. in the Init. Can it be done?
>

Nope i returning .F. from Init prevents the form from being inited, so the3 method that would return the value is never invoked.
EMail: EdR@edrauh.com
"See, the sun is going down..."
"No, the horizon is moving up!"
- Firesign Theater


NT and Win2K FAQ .. cWashington WSH/ADSI/WMI site
MS WSH site ........... WSH FAQ Site
Wrox Press .............. Win32 Scripting Journal
eSolutions Services, LLC

The Surgeon General has determined that prolonged exposure to the Windows Script Host may be addictive to laboratory mice and codemonkeys
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform