Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
MODAL Form - return parameter
Message
From
12/08/1998 04:57:41
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
 
To
11/08/1998 20:38:56
David Moreau
Iglesia Ni Cristo - Dnm
Quezon, Philippines
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00125213
Message ID:
00125892
Views:
15
Disagree (I like danger and being anti- ).
Cetin

>Cetin,
>
>I think Martin wants to avoid global variables. Passing a return value in a global value seems to me a dangerous practice and anti-OOP.
>
>>This is the hard way if ever could be done. To make it easy for a start create a var before calling and change it :
>>
mRetVal = 0
>>l_Info = CREATEOBJECT("MSG_Question","Do You wann really exit ?")
>>l_Info.show()
>>*in MSG_Question instead of form.retpar directly set mretval
Ç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
Reply
Map
View

Click here to load this message in the networking platform