Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
MODAL Form - return parameter
Message
De
10/08/1998 09:32:54
 
 
À
10/08/1998 09:27:32
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
00125213
Message ID:
00125216
Vues:
20
>Hi all.
>How I return parameter when I create form from VCX where is modal form. I use this command:
>l_Info = CREATEOBJECT("MSG_Question","Do You wann really exit ?")
>l_Info.show()
>I have "RetPar" property, where is stored return parameter. How I get this property after command l_Info.show() ?
>Thanks.

You can't return value in normal (DO FORM ... TO ...) way, but you can:
1. Sent calling form reference to the modal form when you start it
DO FORM modalform WITH thisform
2. And use this reference to reset some property of the calling form when modal form will be finished (e.g. from Form.Destroy event)
Edward Pikman
Independent Consultant
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform