Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Returning value from FORM subclass
Message
De
01/09/2006 02:44:04
 
 
À
31/08/2006 17:15:36
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Versions des environnements
Visual FoxPro:
VFP 9
OS:
Windows XP SP1
Database:
Visual FoxPro
Divers
Thread ID:
01150230
Message ID:
01150304
Vues:
23
try this....I know this works but it may or may not be what you need....

Public gcVar

gcVar = ''

loForm.Show(1) && modal form

wait gcVar window && this will show you the correct return value

Unload event should set and return the value of gcVar

Procedure Unload
gcVar = 'test' && your code here
endproc

The point is to call the show method with (1) as above and to have your form return a value that is stored in a global variable (be sure to have a unique name so this variable doesn't get reset or changedc later on...or just release it if you don't need it)
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform