How to tell if a modal dialog is open?

Ken Ray kray at sonsothunder.com
Mon Feb 13 18:25:45 EST 2006


On 2/13/06 3:27 PM, "Richard Gaskin" <ambassador at fourthworld.com> wrote:

> Peter T. Evensen wrote:
>> I was really after a method to tell if any (unknown) modal stack is
>> open.  topStack gives the top-most editable stack.  I was wondering if
>> there was a way to tell if a modal dialog was being displayed.
> 
> This is an interesting question; given that modal dialogs block the flow
> of the script that opened it this rarely comes up.

True, but only most of the time... there *are* times when you can make modal
dialogs non-blocking:

  http://www.sonsothunder.com/devres/revolution/tips/scrp008.htm


Ken Ray
Sons of Thunder Software
Web site: http://www.sonsothunder.com/
Email: kray at sonsothunder.com




More information about the use-livecode mailing list