Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Returning parameters from form class.
Message
From
15/01/2000 07:55:19
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
 
To
15/01/2000 06:33:33
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00318514
Message ID:
00318523
Views:
23
>Is there any way to return parameters from object in genegal or from form class object in particular, when it is created with CREATEOBJECT clause. Like it is in "DO FORM form_name TO var_name" way.
>The my form object is modal so the executon stops on Show() method until the form closed. The returning value in "Unload" method yelds to nothing.


Andrey,
It's limitating if a modal form returns just one parameter. Generally what I want to get from a modal is more than one parameter. So give it something that it can also play and fill. It could be a custom object with an array to fill in retvals or even calling form (generally custom oApp application object). It could be variable(s) created during calling too. Modal form then would have freedom to interact with its caller (ie:I like to refresh my Caller based on modal's new value before it returns).
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform