>How do you return a result from a VCX based (modal) form?
Several ways.
Our framework has a special DoForm function, that also allows to return a value.
But in general you can do this like this
loForm = newobject('myFormClass')
loForm.Show()
myValue = loForm.uReturnValue
loForm.Release()
And the close button of the form uses thisform.Hide() instead of thisform.release()
>
>>>Fair enough. Why? What difference does it make?
>>>
>>>Jim
>>>
>>
>>Mostly because the framework we're using only uses VCX based forms. But somehow I now like much more VCX based forms and hopefully would not ever need to use SCX based.
>>
>>Though any habit can be broken, so we'll see.
If it's not broken, fix it until it is.
My Blog