General information
Category:
Coding, syntax & commands
Hi Jim!
But how to change this variable in other methods than Init?
TIA
BB
>>Hi everybody!
>>
>>Can someone tell me, the correct way to return a value from a modal form, if the form was launched by the Createobject() command?
>>
>>Now, I give in a parameter the name of the variable, in which I want to get back the return value. I am cuoriuos, if there is a better way.
>>
>>TIA
>>
>>BB
>Bela,
>
>Be sure you are passing that parameter by reference as in;
>
> loObj = CreateObject("MyFormClass",@MyVar)
>
>This way whatever the form does to MyVar is actually happening to the copy of MyVar in the calling code.
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only