Re: Menu items/Alerts... Please help
Date: Tue, 9 Nov 1999 08:06:36 -0800
Message-ID: <h3YV3.16$ld.69544_at_news.bctel.net>
Put your code in the KEY-EXIT trigger at form level. I use this code for the same purpose
if :system.mode = 'ENTER-QUERY' then
note_alert('Query has been cancelled.');
exit_form;
else
if prompt_user ('Exit Form ?') then
exit_form;
end if;
end if;
note_alert and prompt_user are program units that display alerts.
\ \ wrote in message <7vtuc7$2mu$1_at_lure.pipex.net>...
>Dear all,
>I've got a menu attached to a form. The menu contains an item (Exit),
>which when clicked calls EXIT_FORM. But I'd like to ask the user wheather
>they really want to exit the application. The ideal way would be to use an
>Alert.
>
>How can I, call an alert from a menu item (can it be done)?
>How can this be best achieved?
>
>Thanks in advance
>Ambrose
>
>
Received on Tue Nov 09 1999 - 17:06:36 CET