Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Modal form class
Message
De
07/08/1997 13:21:46
 
 
À
07/08/1997 12:32:47
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00043552
Message ID:
00043568
Vues:
37
>>Hi all,
>> I have a form class that is modal and returns a boolean value. How do I get the return value? For example,
>>
>>
>>mfc = createobject('modalformclass)
>>test = mfc.show() && this doesn't work I know, but what do i use instead?
>>
>>Any help appreciated
>>
>>-mike
>
>lModalFormRetVal = .f.
>oTest = createobject("modalform") && Modalform unload event contains lModalFormRetVal = lExpression
>oTest.show()
>? lModalFormRetVal
>
>Maybe there is a better way.
>Cetin

The better way is to fill some property of app object or 'parent' form in Modalform.Destroy event, and use this property as 'returned value'.
Edward Pikman
Independent Consultant
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform