Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
MODAL Form - return parameter
Message
From
10/08/1998 09:32:54
 
 
To
10/08/1998 09:27:32
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00125213
Message ID:
00125216
Views:
21
>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
Previous
Reply
Map
View

Click here to load this message in the networking platform