Re: ora forms - close window,close runtime

From: AR <AR69RA_at_gmx.net>
Date: Fri, 19 Jul 2002 09:45:14 +0200
Message-ID: <zsPZ8.803$QA.20644_at_news.siol.net>


about close runtime:

somebody helps me with this:
you just need to write trigger Key-Exit at form level with code null; or something like that

so then you need to make able to close appl at menu ewxit, where you write exit_form

tnx for all

"Luis Cabral" <luiscabral99_at_ig.com.br> wrote in message news:c9ff1799.0207181309.3306e978_at_posting.google.com...
> Hi
>
> Forms does not allow you to close the "main" document window. You must
> close the MDI window (the outermost window). To allow the user close
> the form when closing the main document window, you must code the
> when-window-closed form trigger:
>
> if :system.event_window = 'MAIN_WINDOW' then
> exit_form;
> end if;
>
> Regarding the second question, I think it is not possible... Clicking
> in the [X] is the same as keying EXIT_FORM... There is no way of
> distinguing the two events. The only option would be unabling the [X]
> button, but I don't know if it is possible in forms.
>
> hth
>
>
> "AR" <AR69RA_at_gmx.net> wrote in message
news:<Tb_Y8.689$QA.17764_at_news.siol.net>...
> > i have one palication made in Forms 6i
> > but i cannot solve the nexr problem:
> > the window has enabled "close allowed", so the (×) is able to click,
but
> > the window won't CLOSE, what should i do?
> >
> > something more?
> > is it possible to make Runtime unable to close when (×) is clicked; so i
> > want to close application only with click on Exit (exit_form;) menu
Received on Fri Jul 19 2002 - 09:45:14 CEST

Original text of this message