Modal-like dialog box without using "modal"?
Sarah Reichelt
sarahr at genesearch.com.au
Thu May 20 20:13:57 EDT 2004
How about showing the progress bar on the main window rather than in a
separate window. You could make that window modal while creating your
thumbnails.
In answer to the question about trapping mouse clicks, you can always
insert a frontScript that traps any events you want it to trap, then
when you have finished your processing, remove the frontScript so that
events are handled normally again.
Cheers,
Sarah
On 20 May 2004, at 5:55 pm, Frank Leahy wrote:
> Hi,
>
> I have a process that creates thumbnails, and I display a dialog box
> with a progress bar while this is happening.
>
> I want to stop the user from doing anything else, i.e. I want the
> dialog box to be "modal". But if I make the dialog box modal, the
> make thumbnail process stops running.
>
> My big problem is that I want to stop users bringing other windows to
> the front and clicking in those windows. I've added a "on
> resumeStack" handler that brings the dialog box back to the front, but
> that doesn't work consistently. I've also thought about putting a big
> transparent button on all open windows and trapping all mouse clicks,
> but that seems overkill. Is there any way to trap all mouse clicks
> and key strokes on open windows without resorting to something like
> this?
>
> How is anyone else handling this?
>
> Thanks,
> -- Frank
>
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> http://lists.runrev.com/mailman/listinfo/use-revolution
>
>
>
More information about the use-livecode
mailing list