Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Returning a value from a class form
Message
 
 
To
09/11/2001 18:03:53
Dave Macfarlane
Condo Navigator Ltd.
Alberta, Canada
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00579966
Message ID:
00580032
Views:
28
>Thanks, but the form is already modal.
>
>I believe the problem may be that you can't return a value from an instantiated form class? Thoughts?

Yes you can. Create parameter object with parameters as properties and pass it as a parameter to the init of the form. In the init of the modal form save it to the form property. Later fill the properties of the parameter object with return values. Don't forget to clear property that referencea the parameter object in the form Destroy event.
--sb--
Previous
Reply
Map
View

Click here to load this message in the networking platform