Re: HIDE_VIEW in Forms 4.5

From: Ian C. Sellers <"Ian>
Date: 1997/08/01
Message-ID: <5rsv9k$38g_at_news-1.boco.co.gov>#1/1


Michael,

I've done the same thing, but slightly differently. I put each of the two canvasses in its own window, instead of both canvasses in the same window. Then I can show and hide them using HIDE_WINDOW and SHOW_WINDOW. This works functionally as you wish from your description below.

-Ian

Michel Renaud wrote:

> Hi,
>
> I'm trying to setup a "wait window" in Forms 4.5. I have a
> window called "MAIN_WINDOW", and two canvas-views called
> "MAIN_CANVAS" and "WAIT_CANVAS". What I want is when the
> user clicks on a button (with MAIN_CANVAS visible), is to
> have the WAIT_CANVAS pop over it (it then contains a
> message such as please wait). This works fine. After the
> processing is done, I want the WAIT_CANVAS to disapear, for
> that I use HIDE_VIEW('WAIT_CANVAS'). However, the
> WAIT_CANVAS is still there and I have to click on the
> MAIN_CANVAS to "hide" the WAIT_CANVAS. Is this some sort
> of bug in Forms or am I missing something? I also tried
> using SET_VIEW_PROPERTY to change the VISIBLE property to
> PROPERTY_FALSE, but the result is the same.
>
> The WAIT_CANVAS is STACKED so I can still see the
> MAIN_CANVAS underneath it.
>
> The code is pretty simple and is in the WHEN-BUTTON-PRESSED
> trigger:
>
> Show_View('WAIT_CANVAS');
> Validate_Template; -- Procedure doing some processing...
> Hide_View('WAIT_CANVAS');
>
> Ideas anyone? Or if anyone has another idea for displaying
> a wait window I'd appreciate any tip (I do NOT want to use
> "message" to display the wait message on the status line.)
>
> thanks in advance,
> Michel
>
> ---------------------------------------------------------
> Michel Renaud Ottawa, Ontario, Canada
> email: renamic_at_synapse.net WWW: http://www.synapse.net/~renamic
Received on Fri Aug 01 1997 - 00:00:00 CEST

Original text of this message