ask/answer annoyance
Richard Gaskin
ambassador at fourthworld.com
Tue Mar 10 15:44:12 CDT 2009
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
___________________________________________________________
Ambassador at FourthWorld.com http://www.FourthWorld.com
More information about the metacard
mailing list