Robert Brenstein wrote:
On 10.03.09 at 20:11 +0000 Hugh Senior apparently wrote:
Since it's modal, the window is blocking and has to close before anything
can be done at all outside the modal. The only thing that springs to mind is
you trap cmd.period in the modal itself.

2p

/H


Modifying the dialog to trap cmd-. is doable. However, the problem is how to pass that cmd-. further -- as Richard explained, the exit to top does not work as expected, that is the script exists to top within the dialog stack while the calling script continues.

I wonder whether it is possibly to send cmd-. (in time) while closing the dialog. It should either carry over to the loop below or auto-cancel the next dialog popping up.

A workabout I use is to have a cancel button in such a dialog and check for cancel in the looping script.

Yes, at the moment it appears that canceling within the script that calls a modal is necessary for "exit to top" to be honored. There's a request to change that to honor it from wherever it's called, but in the meantime we have to handle it in the calling handler.

--
 Richard Gaskin
 Fourth World Media Corporation
 ___________________________________________________________
 [email protected]       http://www.FourthWorld.com
_______________________________________________
metacard mailing list
[email protected]
http://lists.runrev.com/mailman/listinfo/metacard

Reply via email to