gettingstarted
[Top] [All Lists]

Re: Exclusive window focus

To: Getting Started <gettingstarted at lists dot realsoftware dot com>
Subject: Re: Exclusive window focus
From: Terry Ford <tmford at shaw dot ca>
Date: Thu, 27 Jul 2006 19:44:04 -0700
Delivered-to: listarchive at realsoftware dot com
Delivered-to: gettingstarted at lists dot realsoftware dot com
References: <44C9747B dot 8010301 at rpgportland dot com>

On Jul 27, 2006, at 7:20 PM, Fargo Holiday wrote:

Hi everyone,
I'm trying to figure out how to have a window in my application prevent me from selecting any of the other windows in my application while it's open, much like a MsgBox, but so far I haven't come across anything. I searched through the archives, but I don't think I'm using the right words to track down what I'm looking for. If someone could point me in the right direction or give me a good answer, I'd be much appreciative.

On Jul 27, 2006, at 7:14 PM, Walter Purvis wrote:
ShowModal?

That really won't work with many windows. All ShowModal does is cease executing the rest of the code in the calling method.

To make a window Modal you must set it's frame to one of the Modal Dialog types. These are:

1 - Movable Modal
2 - Modal Dialog

8 - Sheet windows are also a bit modal but require a bit different code in creating.

Terry

_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>


<Prev in Thread] Current Thread [Next in Thread>