Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Show()
Message
 
 
To
17/07/2002 19:34:17
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
Re: Show()
Miscellaneous
Thread ID:
00679830
Message ID:
00679832
Views:
17
This message has been marked as the solution to the initial question of the thread.
You cannot return value from class based form this way. There're a few ways to do that. See Message #549714 for two of them. Here's another one Message #530111.


>Hi
>
>A simple one
>I am trying to return a value from a form
>
>
oPrintForm=CREATEOBJECT('PrintOrdersForm')
>lnOrders=oPrintForm.show(1)
>RELEASE oPrintForm
>
>As per the help I have in the unload method of my form class
>
>
RETURN this.nOrders
>
>a numeric property of the class yet I am getting .T. returned to lnOrders.
>
>Obvoiusly I am missing something. How do I return my value using the show method???
>
>Regards
>Geoff Scott
--sb--
Previous
Reply
Map
View

Click here to load this message in the networking platform