Thanks David, I guess that answers it.
I'll declare the returned value public, then release it as soon as Ive used it.
Paul
>Paul,
>
>The Unload() return only works for DO FORM .. TO .. type forms.
>
>What you are seeing is the return value of the Show() method.
>
>>I have a form class in a .vcx file. I have "return this.form_property_name" in the unload event.
>>
>>I tried using "do form form_name to x1" as you show below, but it doesn't seem to work with forms in .vcx files.
>>
>>I can start the form with:
>>
>>oform1 = Createobject("form")
>>result = oform1.show()
>>
>>However the value of result is .T., not the value I wanted returned.
>>
>>I'm probably missing something simple. How do I get the returned value?
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement