Re: Forms 4.5 -- Setting up window property help

From: Ian C. Sellers <"Ian>
Date: 1997/08/14
Message-ID: <5svkdr$esl_at_news-1.boco.co.gov>#1/1


Jody Lewis wrote:

> Hello!
>
> Could someone please assist me in setting up my form. I have a form
> that calls different window to be displayed. I always want the main
> window to be displayed in the background but for some reason when I
> bring up a dialog window that has the modal property turned off, that
> back window disappears.
>
> All windows are displayed and hidden using the SHOW_WINDOW and
> HIDE_WINDOW properties called from buttons on this main form.
>

Sounds strange. I do same thing w/o any problems. I leave the main window's modal property at false, and change the secondary window's modal property to true. On win31, this prevents the user from accidently hiding the secondary window if they click on the main window. Then in button triggers on buttons in the main window, I do a show_window('secondary_window') --- the main window stays visible in background, but is not navigable until the secondary window has been dismissed.

> Thus far I have tried combinations with making the main window Window
> Style Property and Modal Property. I just can't find the right combo.
>
> I started having problems with this when I initiated a move_window on
> the main window to hide the menu bar.
>
> I thought maybe I have the window properties screwed up some how. Can
>
> you help me with this?
>
> I am also looking for a way to hide the menu on a form but not the
> title or status bars on the forms application window.
>
>

Try: replace_menu('');
You'll need to replace it with the real menu when you want it back again.

Good luck.
-Ian Received on Thu Aug 14 1997 - 00:00:00 CEST

Original text of this message