Re: Closing multiple independent forms
From: Ole Bredesen-Vestby <obv_at_ssb.no>
Date: 2000/07/13
Message-ID: <396da743.162303670_at_news.eunet.no>#1/1
Date: 2000/07/13
Message-ID: <396da743.162303670_at_news.eunet.no>#1/1
I've used this approach:
Use a global variable, :global.exit_flag. When you want to close all your forms, set this flag. (:global.exit_flag := 1;)
Then, use the following code in WHEN-WINDOW-ACTIVATED on every form:
if :global.exit_flag = 1 then
exit_form;
end if;
- Ole BV
On Tue, 11 Jul 2000 19:04:27 -0700, "martini" <martini_at_direct.ca> wrote:
>Anyone have a hint on how to close multiple forms quickly with as little
>code as possible? I don't want to use FIND_FORM and CLOSE_FORM over, and
>over, and over and over, and over again.
>
Received on Thu Jul 13 2000 - 00:00:00 CEST