Hi, Christian
Thank you for your answer. I was afraid that's the only way... bummer. I don't get it. If the form it's in a scx, it is possible. If the form is in a vcx, is not. Why the behavior depends on the implementation? Is this OOP? What kind of oop? One of a kind, I guess.... :((
>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
Grigore Dolghin
Class Software.