Persistent .Net Form

Posted by Jeff Ledbetter on 28-Jun-2014 13:01

Hi. Maybe I am overlooking the obvious. I know how to run a .Net form and wait for it, but how do I run a form persistently and allow control to return to the calling procedure? Thanks.

All Replies

Posted by Mike Fechner on 28-Jun-2014 13:03

Just call the Form’s Show method.

Posted by Jeff Ledbetter on 28-Jun-2014 13:14

Ok. That works, but you still have to have some kind of .Net WAIT-FOR.

If one already has an app with a ABL WAIT-FOR, is it possible to fire up a .Net form, show it, and then resume my ABL wait? All the examples seems to be the WAIT-FOR System.Windows.Form.Application:Run(x) variety.

Posted by Mike Fechner on 28-Jun-2014 13:48

To my knowledge the first WAIT-FOR needs to by .NET style to give .NET components the chance to handle messages.

Progress uses the WAIT-FOR Application:Run() to initialize message handling in .NET and ABL.

 

This thread is closed