Re: How to hide a window?
Re: How to hide a window?
- Subject: Re: How to hide a window?
- From: "John C. Randolph" <email@hidden>
- Date: Thu, 20 Sep 2001 11:06:22 -0700
On Thursday, September 20, 2001, at 08:23 AM, Johnny CN Lee wrote:
on 9/20/01 11:01 PM, Eric Peyton at email@hidden wrote:
Why don't you just close the window, and then re-open it when
necessary?
Because it's a panel full of controls. I don't want to re-open it from
nib
file when re-show it.
You don't have to re-load it to get it back after it's closed. Open the
nib file in Interface Builder, select the window, and make sure the
"free when closed" in the inspector box is not checked. Then when you
want the window to appear, send it a -makeKeyAndOrderFront: message.
-jcr
"I fear all we have done is to awaken a sleeping giant and fill him with
a terrible resolve." -Admiral Isoroku Yamamoto, Dec 7, 1941.