Hi Folks,
I've just uncovered a real kicked - Window.Visible has nothing to do
with the state of whether a window is actually being shown, but
rather only the boolean state of the window's visibility. While I
realize that this makes perfect sense, I'm left with a problem - how
do I tell if a window is actually being shown? In components of an
interface I'm working on, there are times when a couple of windows
are displayed based upon the user's current state. However, when the
windows are being shown, they can be updated - which (unfortunately)
causes them to be shown.
I'd like to be able to code something like:
If theWIndow.isbeingshown Then
// do update stuff
Else
// don't do update stuff
End If
What made me cover this was that I was using:
If theWindow.Visible Then
/// do update stuff
End If
And the window was always popping back up even though it was
previously hidden. Do I need to set a boolean flag in the window
itself, or is there a window check that I've missed to determine the
actual show state of a window (including the MBS tools - Christian?)?
Thanks,
Tim
--
Tim Jones
[EMAIL PROTECTED]
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>
Search the archives:
<http://support.realsoftware.com/listarchives/lists.html>