>Hi all, I'm wondering if there's a way to return a value from a form's class instanced with create object, like this:
>
>
> oForm = createobject("myFormClass")
>
>
>This particular class is for a custom dialog form and hence will always run as modal. I was thinking to create an object before instancing the form and pass the return value to that object but I'm wondering if there's a more direct way of doing this.
>
>TIA,
>
>Enmanuel
Hi Enmanuel.
Have you tried to create a property into your form and then getting its value before you release it?
oForm = createobject("myFormClass")
oForm.show()
lcMyParam = m.oForm.cParam
Abraços.
Ivan