On Mar 07, 2007, at 21:17 UTC, Arnaud Nicolet wrote:

> > I wouldn't expect that to work.  If it happens to work, do you have
> > reason to suppose that it's supported?  Show is intended to reveal a
> > window that's already (and still) open, but not yet visible (either
> > because it was opened with .visible=False, or because you called
> Hide
> > on it).  Or such is my understanding.
> 
> Or you can call .Show before the window is open, as in MyWin1.show.

That doesn't actually call Show before the window is open.  First, the
MyWin1 global function instantiates the window, calling its Open
events, and showing it too if .visible = true.  Then it returns a
reference to this window, which you call Show on.

> >   self.Close
> >   self.Show
> 
> I would like to understand why Show has no effect (and no crash) here
> (I would expect the window to close and a new (another) instance of  
> the same window to be reopened like a distinct close and show call).

Hmm, I'm not sure why you expect that.  "Self" here isn't just any old
instance; it's this particular instance, the one that's executing this
code.  It'd be very odd indeed for this instance to open some other
instance and show that, just because you told this one to show itself.

Best,
- Joe

--
Joe Strout -- [EMAIL PROTECTED]
Verified Express, LLC     "Making the Internet a Better Place"
http://www.verex.com/

_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

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

Reply via email to