realbasic-nug
[Top] [All Lists]

Re: Testing whether a window is open

To: REALbasic NUG <realbasic-nug at lists dot realsoftware dot com>
Subject: Re: Testing whether a window is open
From: Norman Palardy <npalardy at great-white-software dot com>
Date: Thu, 31 Jan 2008 11:53:19 -0700
Delivered-to: listarchive at realsoftware dot com
Delivered-to: realbasic-nug at lists dot realsoftware dot com
References: <7AB59C07-175B-4EEB-A605-38432459A753 at stretchedout dot com> <D1959775-8BC1-47E0-AE89-F2BA7AD724EB at oxalyn dot com> <81D3EE9F-783C-488D-B81B-EE4615B5A7E8 at great-white-software dot com> <5E89206A-8F6B-46BE-B64E-5F7EEE957072 at oxalyn dot com>
On 31-Jan-08, at 11:42 AM, Eric Williams wrote:

> True enough - but this seems like extra work to me. Why not just keep
> track of everything as you create it? That way you'll always know
> what's going on instead of having to repeatedly cycle through all the
> windows to find the one you want.

Sure, you can. But you don't HAVE to.
Cycling through windows to see if one instance exists or is visible  
is pretty quick even if you have a few hundred open but hidden - yes  
I have seen a case like this :)
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives:
<http://support.realsoftware.com/listarchives/lists.html>


<Prev in Thread] Current Thread [Next in Thread>