Re: Closing all forms in application?
Date: Fri, 27 Apr 2001 08:56:42 -0400
Message-ID: <90riet8p78pkrnldklek1lli443e91c5gc_at_4ax.com>
On Fri, 27 Apr 2001 10:44:38 +0200, "pradziu" <pawelradziulis_at_poczta.onet.pl> wrote:
>Hello
>Before re-login into application I have to close all open forms. So I have
>two questions:
>1. Is it an automatic way to close all forms in application without
>definition of the list of their names
>or handlers?
>2. Is it possible to get list of all open forms in application (names or
>handlers)?
>
We solve this by having a menu option called "Exit all". The menu option sets :LOBAL.EXIT_ALL := 'TRUE' then does EXIT_FORM.
Every form also has a WHEN-WINDOW-ACTIVATED trigger that says:
DEFAULT_VALUE('GLOBAL.EXIT_ALL','FALSE');
IF :GLOBAL.EXIT_ALL = 'TRUE' THEN
EXIT_FORM;
END IF;
That works well for us.
Received on Fri Apr 27 2001 - 14:56:42 CEST