Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Return value from a Form
Message
From
26/07/2011 07:15:39
 
 
To
26/07/2011 00:42:58
Yim Ming Sun Derek
Spacious Design Consultant
Hong Kong, Hong Kong
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01333380
Message ID:
01519161
Views:
76
How to Hiding a modal form and get the return value to the calling form ?

In the calling form:

DO FORM ModalFormName TO ReturnValue

In the ModalForm:

Add a property to the form that holds the return value.

Before the modal form closes, set the form property

In the modal form's unload:

RETURN Thisform.ReturnValue
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform