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
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution



--
Rodney Tamblyn
44 Melville Street
Dunedin
New Zealand
+64 3 4778606
http://rodney.weblogs.com/

_______________________________________________
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution

Reply via email to