Hi

The problem I kept running into problems with one modal dialog popping up
another, for example user clicks a button to do a lokup, the search dialog
is shown then a search is performed and no items are found so I open another
dialog window saying that no items were found. I kept finding the 2nd dialog
window would slide behind the first dialog window (And now the first ones
controls were not accessible).

So I created my own, it was simple enough to do all you need to do is keep
track of the "Modal" view's in the order that they appear, each new modal
must be placed in front of the old one (It may be tricky to find the common
parent). When they become hidden (Invisible) you pop them off the stack in
LIFO order.

Z


On 12/5/06, Daniel Williams <[EMAIL PROTECTED]> wrote:

Hi,
Try

LzFocus.setFocus( modal dialog box name )


-Daniel


Rolfe, Edward wrote:
> Hi,
>
> I have a background timer running that every few minutes performs some
> data checks.  This background timer will raise an alert (modal dialog
> box) if the data it processes is in error.
>
> I just happened to be resizing a window (left mouse button down) when
> this alert was opened.  As a result, the mouse was "stuck" to the window

> I was resizing and I was unable to use the mouse to click on either of
> the two buttons in the alert window.
>
> Does anyone have any suggestions as to what I might do before opening
> the alert to ensure that the mouse is available for use in the alert
> (modal dialog box)?  Perhaps a call to the LzModeManger? If so, which
> method?
>
> Thanks,
> Ed
>
>


Reply via email to