Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Unload event
Message
 
To
All
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Unload event
Miscellaneous
Thread ID:
00034162
Message ID:
00034162
Views:
71
Where is the unload event of a form? the example below refers to it as I wish to pass back the results of a variable nameto a calling form.


2.In the code associated with the UnLoad event of the form, include a RETURN command with the return value.
3.In the program or method that runs the form, include the TO keyword in the DO FORM command.

For example, if FindCustID is a modal form that returns a character value, the following line of code stores the return value to a variable named cCustID.

DO FORM FindCustID TO cCustID
"Build a man a fire, and he's warm for a day.
Set a man on fire, and he's warm for the rest of his life."
Next
Reply
Map
View

Click here to load this message in the networking platform