Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Returning a value from a form
Message
General information
Forum:
Visual FoxPro
Category:
The Mere Mortals Framework
Miscellaneous
Thread ID:
00569550
Message ID:
00569557
Views:
31
Hi!

If the form is modal, you can use "return ThisForm.uRetVal" in the unload event of the form. To get value returned by such way, use command like:

DO FORM ... WITH ... TO MyVariable

MyVariable will get a returning value.

For modeless forms you need some other approach depended on how you use them...

>Hi, I want to return a value from a form and I set ThisForm.uRetVal. I must hide the form? Is there any way to release the form? I don´t want to keep something in memory that will not be used again.
>
>Regards,
Vlad Grynchyshyn, Project Manager, MCP
vgryn@yahoo.com
ICQ #10709245
The professional level of programmer could be determined by level of stupidity of his/her bugs

It is not appropriate to say that question is "foolish". There could be only foolish answers. Everybody passed period of time when knows nothing about something.
Previous
Reply
Map
View

Click here to load this message in the networking platform