How do I return a value from a visual class. I have created a class based on a form. The form is Modal. In the Unload event of the form I placed return This.cRetVal.
In the calling program, I have:
oObject = createobject("MyObject")
cRetVal = oObject.Show()
cRetVal is always .F. when returning.
What am I doing wrong?