Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.server -> Re: Simple forms 5.0 window problem

Re: Simple forms 5.0 window problem

From: Sean McMurray <smcmurr_at_admin.dce.utah.edu>
Date: Thu, 29 Apr 1999 13:43:48 -0700
Message-ID: <3728C484.1A01EB4C@admin.dce.utah.edu>


mikey wrote:

> I got three window.. customer , movie and rental
>
> when I start the application I get the customer screen which has push button
> which call the other windows rental and movie
>
> the code for the when button pressed tigger is Open_window('MOVIE')
> which call the following procedure
>
> PROCEDURE Open_Window (window_name VARCHAR2) IS
> window_id WINDOW;
> Window_Not_Found EXCEPTION;
>
> BEGIN
> window_id := FIND_WINDOW(window_name);
> IF ID_NULL(window_id) THEN
> RAISE Window_Not_Found;
> END IF;
>
> SHOW_WINDOW(window_id);
>
> EXCEPTION
> WHEN Window_Not_Found THEN
> MESSAGE('Window '||window_name||' does not exist.');
> RAISE FORM_TRIGGER_FAILURE;
> WHEN OTHERS THEN
> MESSAGE('Internal error occurred in Open_Window.');
> RAISE FORM_TRIGGER_FAILURE;
> END Open_Window;
>
> The problem is that I never lose focus on the customer window the movie window
> appears behing the customer window. It wont even close if I do the following
> close_window ('Customer')
>
> the code is
>
> PROCEDURE Close_Window (window_name VARCHAR2) IS
> window_id WINDOW;
> Window_Not_Found EXCEPTION;
>
> BEGIN
> window_id := FIND_WINDOW(window_name);
> IF ID_NULL(window_id) THEN
> RAISE Window_Not_Found;
> END IF;
>
> HIDE_WINDOW(window_id);
>
> EXCEPTION
> WHEN Window_Not_Found THEN
> MESSAGE('Window '||window_name||' does not exist.');
> RAISE FORM_TRIGGER_FAILURE;
> WHEN OTHERS THEN
> MESSAGE('Internal error occurred in Open_Window.');
> RAISE FORM_TRIGGER_FAILURE;
> END Close_Window;
>
> what am I doing wrong , why Cant it place the focus on the movie window and
> place the customer window behing the movie window
>
> any help apprecitaed

In Forms 4.5 I have the same problem. I can't close windows. Let me know if you find a solution.
Thanks. Received on Thu Apr 29 1999 - 15:43:48 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US