>When I want to return a value from one form use the following Syntax:
>
>
>DO Form WITH MyPar TO MyVar
>
>
>With the following code in the UnLoad event of the Form:
>
>
>Return MyValue
>
>
>
>How to return the value from an object form, that it was created with CreateObject?
>
>
>oForm = CreateObjec('MyClassForm')
>oForm.Show(1)
>
Olá Paulo.
Que tal criar uma propriedade MyValue no seu form e então acessá-la logo após o seu "Show" ?
Você pode criar várias propriedades e jogar seus valores nelas, usando logo após o form ser fechado.
oForm = CreateObjec('MyClassForm')
oForm.Show(1)
lMyValue = oForm.MyValue
oForm.release()
Espero que ajude.
Ivan