Hi, Unfortunately, LzFocus.setFocus() didn't do it for me. :-(
However, I've narrowed it down to being very specifically a <window> specific issue. Whether I'm resizing or dragging the <window> when the <alert> is opened(), the mouse will become stuck to the <window>. Yet, if I click and hold the left mouse button on any widget contained within the <window>, the mouse is grabbed by the <alert> and available for use in interacting with the <alert>! This is also true for <menuitems>. In these widget instances, however, at the time the <alert> is opened, the widget appears to be being sent a onmouseup event, even though at the time, I'm simply left-click and holding the button -- never releasing it myself. I'll keep digging... Ed -----Original Message----- From: Daniel Williams [mailto:[EMAIL PROTECTED] Sent: Tuesday, December 05, 2006 1:53 PM To: Rolfe, Edward Cc: [email protected] Subject: Re: [Laszlo-user] Modal alert raised while resizing a window 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 > >
