Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Return value from a modal form
Message
From
15/12/1997 11:02:53
 
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00065924
Message ID:
00065939
Views:
42
>First issue the following command:
>
>DO FORM MyForm TO MyReturnValue
>
>Then in the form's Unload event:
>
>RETURN (value)
>
>MyReturnValue will then contain your desired result.

That work for a "normal" form created with the form designer, but my form was created via a CreateObject(). Here's my code:

loForm = CreateObject("cModalForm")
loForm.Show(1)
loForm = NULL

TIA
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform