Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Returning a form value
Message
 
To
13/09/2000 12:56:22
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00415931
Message ID:
00415946
Views:
19
>According to the VFP6 help system you can return a value from a form by placing a "return value" statement in the "UNLOAD" event. However, by the time UNLOAD the DESTROY event has already trashed all of your form variables. How can I return a form variable value from a form?

As Trey mentioned, your form variable have not been destroyed by the time the Unload event occurs, but all the objects on the form have been. If you're trying to return something like the value of a textbox, you have to save that value in a form variable first.
Previous
Reply
Map
View

Click here to load this message in the networking platform