Hi Oscar.
What Steve says is correct. The Show method is what stops the process from continuing.
thisform.oForm = CreateObject(“MyFormClass”, Param1, Param2).
thisform.show &&&** when you want to process the form's reads.
Regards.
>I created a form class with windowtype = 1 (modal).
>
>I´m issuing thisform.oForm = CreateObject(“MyFormClass”, Param1, Param2) in order to launch it.
>
>The init of the form class contains the code to make it visible: this.visible = .t.
>
>However, the statements after the CreateObject are executed immediately (not the usual modal form behavior).
>
>How can I obtain the behavior expected of not to execute any next line(s) until the modal form has been released?
>
>Thanks in advance
>
>Oscar Corte
- Glen -
The impossible we do immediately.
The miraculous will take a little longer.