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...
Continue reading...