[progress Communities] [progress Openedge Abl] Forum Post: Re: Closing A Form From An Abl...

  • Thread starter Thread starter Matt Gilarde
  • Start date Start date
Status
Not open for further replies.
M

Matt Gilarde

Guest
Your program needs to have one WAIT-FOR for the whole program. There should already be one in the ABL window procedure but you need to change it to be a GUI for .NET WAIT-FOR: WAIT-FOR System.Windows.Forms.Application:Run(). Remove the WAIT method from Viewer.cls and remove the call to myViewer:WAIT() from the but-view trigger. To make the application stop cleanly you need to break the .NET WAIT-FOR with the following line at the end of the CLOSE OF THIS-PROCEDURE trigger: WAIT-FOR System.Windows.Forms.Application:Exit().

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