Kalan
Member
Hi all,
I display modal dialog message window using WAIT-FOR THIS-OBJECT:ShowDialog(). However I dont want user to manualy to close this window by Close the form by clicking on the X button. I want to close this programmatically. I have tried using myDlgForm: Close () but control does not comes to this stage to execute since Wait-for block the ctrl. Could you please suggest on this?
For example, I generate the report and display the status message 'In-Progress' in modal mode using ShowDialog() when the report generation process complete this message window should disappear without any user intraction and display the report output. At this moment, we have to close this 'In-progress' dialog window since we are calling using ShowDialog(). Also code syntax forces to use 'Wait-For'. i.e. WAIT-FOR THIS-OBJECT:ShowDialog().
Thanks.
I display modal dialog message window using WAIT-FOR THIS-OBJECT:ShowDialog(). However I dont want user to manualy to close this window by Close the form by clicking on the X button. I want to close this programmatically. I have tried using myDlgForm: Close () but control does not comes to this stage to execute since Wait-for block the ctrl. Could you please suggest on this?
For example, I generate the report and display the status message 'In-Progress' in modal mode using ShowDialog() when the report generation process complete this message window should disappear without any user intraction and display the report output. At this moment, we have to close this 'In-progress' dialog window since we are calling using ShowDialog(). Also code syntax forces to use 'Wait-For'. i.e. WAIT-FOR THIS-OBJECT:ShowDialog().
Thanks.