How to start a GUI .Net window from ABL "persistent&quo

Posted by Peter Baaijens on 20-Oct-2011 08:35

Hi all,

I am starting a class (Progress.Windows.Form) as a window with UltraWinExplorerBar etc from ADM2/ABL application procedure like:

hPlanboard = NEW Softpak.aa.tp.planboard().

WAIT-FOR hPlanboard:ShowDialog().

But than the ADM2 application menu is not accessible untill this window has been closed.

How can I start this window "persistent" so that the ABL application/menu is still available?

Regards

Peter

All Replies

Posted by Admin on 20-Oct-2011 08:42

hPlanboard = NEW Softpak.aa.tp.planboard().

hPlanboard:Show().

But you need to use the

WAIT-FOR System.Windows.Forms.Application:Run () .

As the initial (and hopefully only) WAIT-FOR of your application.

If you haven't done yet, the WinKit.LE Tutorial at http://www.consultingwerk.de/winkitle/ has some information on how to do that.

Posted by Peter Baaijens on 21-Oct-2011 07:51

Thanks for the quick & helpfull reply!

This thread is closed