That's just it, i want to see if the window is generated or not, without
generating it.
I cycle through all available windows and check if the maxheight value
matches the one im looking for. If it does I know the window exists and
is open, if its not found, the window isnt open. Since I'm using a
floating window and i want the title bar to be small, this window doesn't
have a Title property which is what I would normally check.
-Jon
On Tuesday, February 26, 2002, at 04:26 AM, Matt Neuburg wrote:
At 4:13 AM -0900 2/26/02, thus spake Jon Daniels:
As a workaround I use the window.maxheight property to uniquely identify
a
window.
That's brilliantly sneaky.
But what problem is this meant to solve? When a window is generated you
are
holding a leash with the window at the other end; if you will need to
identify the window later, just don't let go of the leash. m.
--
matt neuburg, phd = matt at tidbits dot com, http://www.tidbits.com/matt
pantes gar anthropoi tou eidenai oregontai phusei
Subscribe to TidBITS! It's free and smart. http://www.tidbits.com/
---
Subscribe to the digest:
<mailto:realbasic-dr-digest at lists dot realsoftware dot com>
Unsubscribe:
<mailto:realbasic-dr-off at lists dot realsoftware dot com>
|