Forum Post: How To Close "wait-for This-object:showdialog()" Programmatically?

  • Thread starter Thread starter Karikalan Ram
  • Start date Start date
Status
Not open for further replies.
K

Karikalan Ram

Guest
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. Kalan

Continue reading...
 
Status
Not open for further replies.
Back
Top