Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Return value from a (modal) form class?
Message
From
24/01/2002 18:59:24
 
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00610190
Message ID:
00610203
Views:
18
Thanks, Sergey. I guess the answer, strictly speaking, is "No" a form can't return a value - however it can "change" a value of a pre-existing variable (as in the first two examples) and it can "expose" its properties so that when the modal state is "relaxed" by issuing Hide(), I can retrieve the value, as in the third example.

thank you for pointing me in the right direction.
Alan

>>I need to return a value from a form object. The form is a class in Library and is instantiated via CreateObject or NewObject. I use the Show(1) method to activate the form and make it modal. Is there a way to return a value from the form when it is released? Or, MUST the form be an .SCX and instantiated via DO FORM ... TO ... ?
>>
>>Thank You,
>>Alan
>
>There're many ways to do that. See Message #549714 for two of them. Here's another one Message #530111.
Previous
Reply
Map
View

Click here to load this message in the networking platform