Close Form in OnShow
Posted on 1999-11-08
I have a dll that does certain modem communication processes and thus displays updates via modal forms.
The process is started in the OnShow of a modal form and can terminate depending on certain conditions after which I display a status (on the modal form) and then it terminates after a short time. (same as a normal modem connection dialog box does with for example closing connection... etc.)
??What can I do to close the modal form in the OnShow event, or workaround except posting a message to myself to start the process.