Re: Closing Multiple Forms From Menu>Exit

From: Vagelis Rados <Vrados_at_Singular.gr>
Date: 1997/12/15
Message-ID: <3494f5d2.7616664_at_news-ath.forthnet.gr>#1/1


I hav only a comment on that.
The way you describe the exit action is fine, I do the same thing with an exception: If the form module is in ENTER-QUERY mode, then it will only go to normal modee, won't exit the form. So, I have improved the code in the WHEN-WINDOW-ACTIVATED trigger by checking the :SYSTEM.MODE variable to verify the mode the form is in:
> WHEN-WINDOW-ACTIVATED: Check if global is now 'Y'
> e.g. If :GLOBAL.exit_app = 'Y' Then

                        If :System.Mode = 'ENTER-QUERY' Then
                             Exit_Form; 
                        End if;

> Exit_Form;
> End If;
>

Regards,

mail to : vrados_at_singular.gr
Web Site : www.singular.gr Received on Mon Dec 15 1997 - 00:00:00 CET

Original text of this message