Re: Exitting out of multi-form application

From: Darren Capper <xzo92_at_dial.pipex.com>
Date: Thu, 4 Jun 1998 19:27:40 +0100
Message-ID: <6l6oul$g5k$1_at_soap.news.pipex.net>


<snip>
> Does anybody have any idea about aby built-in/method to exit out of
>an multi-form application with one key-stroke. Exit_Form does not help,
>it is exitting one form at a time.

Don't know of any built in method but I am using v1.3 not v2. The way I achieve the mult-form exit is messy but it works :)

On the exit trigger(For me this is the exit option on my menu)

    :GLOBAL.varExitAll := 'TRUE';
    exit_form;

Then on each form have a When-Form-Acivate trigger that does the following:

    default_value('FALSE','GLOBAL.varExitAll');     if :GLOBAL.varExitAll = 'TRUE' then

        exit_form;
    end if;

The default value statement just sets the value to false if the global does not exist.

Hope this is of some benefit.

Darren Received on Thu Jun 04 1998 - 20:27:40 CEST

Original text of this message