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:
Forms & Form designer
Miscellaneous
Thread ID:
00935781
Message ID:
00935789
Views:
19
Thanks Fred!

Enmanuel

>
>You can do something like this:
>
>In your class, add aproperty for the return val, say .Retval.
>
>Instead of closing your form class, hide your form, and let the calling program retrieve the property and close the form.
>
>In your class,
>
>
thisform.Hide()
>
>And in your calling program,
>
>
thisform.Calendario.Show()
>dRetDate = thisform.Calendario.RetVal
>thisform.Calendario.Release()
I'm a mixture of Albert Einstein and Arnold Schwarzenegger. The only trouble is that I got Einstein's body and Schwarzenegger's brain
Previous
Reply
Map
View

Click here to load this message in the networking platform