Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Returning value from Class
Message
From
17/11/1998 23:37:58
Paul De Niverville
Deniverville Econometric Research Ltd.
Victoria, British Columbia, Canada
 
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00158041
Message ID:
00158620
Views:
21
Thanks David, I guess that answers it.

I'll declare the returned value public, then release it as soon as Ive used it.

Paul


>Paul,
>
>The Unload() return only works for DO FORM .. TO .. type forms.
>
>What you are seeing is the return value of the Show() method.
>
>>I have a form class in a .vcx file. I have "return this.form_property_name" in the unload event.
>>
>>I tried using "do form form_name to x1" as you show below, but it doesn't seem to work with forms in .vcx files.
>>
>>I can start the form with:
>>
>>oform1 = Createobject("form")
>>result = oform1.show()
>>
>>However the value of result is .T., not the value I wanted returned.
>>
>>I'm probably missing something simple. How do I get the returned value?
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform