Of course, modal windows do not "halt code execution" in that sense. They could 
not because you would not be able to use any code in front or back scripts. 
They prevent the calling handler from proceeding. It's like inserting blocking 
code where the modal is called. 

Bob S


> On Jul 10, 2017, at 08:16 , Paul Dupuis via use-livecode 
> <use-livecode@lists.runrev.com> wrote:
> 
> A related issue I ran into recently:
> 
> I had a complex modal dialog. In my code for the dialog controls I was
> calling a routine that had a "wait 0 with messages" statement. I
> discovered that the wait ... with messages allows user events (for
> example commandKeyDown, etc.)  to kick off other scripts while the modal
> dialog was still active under OSX. Windows still does a better job of
> modal actually being modal. This was an older stack under LC6.7.11, so I
> am not sure if the this is also applies to more recent versions.


_______________________________________________
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Reply via email to