asynchronous messages and answer dialog

rodney tamblyn rodney at infiny.co.nz
Thu Mar 18 01:56:45 EST 2004


Just to be very clear here.  In my opinion:

x is among the lines of the windows

... and...

there is a window x

.... should be synonymous for purposes of checking for existence of 
window x.  This is not the case at the moment.

R.

On 18/03/2004, at 7:48 PM, Brian Yennie wrote:

>> 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
>
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> http://lists.runrev.com/mailman/listinfo/use-revolution
>
>
>
--
Rodney Tamblyn
44 Melville Street
Dunedin
New Zealand
+64 3 4778606
http://rodney.weblogs.com/



More information about the use-livecode mailing list