Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Return value from CreateObjecT('myForm')
Message
From
22/05/2005 10:50:03
 
 
To
22/05/2005 10:01:31
General information
Forum:
Visual FoxPro
Category:
Object Oriented Programming
Environment versions
Visual FoxPro:
VFP 9
Miscellaneous
Thread ID:
01016561
Message ID:
01016562
Views:
10
Hello,

not directly ..

since you calling the Function createobject, but you can pass a parameter object to the form ..

e.g.
Form::Init(loParameters)
THIS.oParams = loParameters

Form::Unload()
THIS.oParams.someProperty = "yourReturnValue"

---
LOCAL yourForm, loRetVal
loRetVal = CREATEOBJECT('yourParameterObject')
yourForm = CREATEOBJECT('yourForm',loRetVal)
?loRetVal.someProperty

Regards
Christian
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform