asynchronous messages and answer dialog
Brian Yennie
briany at qldlearning.com
Thu Mar 18 01:48:56 EST 2004
> To me it is more logical to test for the existence of the window.
> There are many situations where I may have a stack open but not have
> it's window open (e.g. a stack in use). I think 'the windows' should
> only return stacks which are displaying windows on screen.
I can see how that would appear so... there is one addition that may
help: test the 'visible' property of the window.
function windowIsOpen tWindow
return ((there is a window tWindow) AND (the visible of window
tWindow))
end windowIsOpen
- Brian
More information about the use-livecode
mailing list