>I know this one returns value from UNLOAD form event...
>DO FORM MyModalForm WITH param1, param2 TO returnvalue
>
>But how to return a value with this one... ?
>oForm = CreateObject("MyFormClass", param1, param2)
>oForm.Show(1)
>RELEASE oForm
One of the ways is to pass a parameter object and update/add properties you need to return.
If it's not broken, fix it until it is.
My Blog