Re: Simple Open Window Close Window
Re: Simple Open Window Close Window
- Subject: Re: Simple Open Window Close Window
- From: "Alan Smith" <email@hidden>
- Date: Thu, 20 Apr 2006 11:48:38 -0400
If you mean just showing a window, such as bringing it to the front, use:
[theWindow orderFront:nil];
or, if you want the user to have it in their face immediately use:
[theWindow makeKeyAndOrderFront:nil];
To close a window use:
[theWindow orderOut:nil];
I hope that's what you wanted.
Peace, Alan
On 4/20/06, david camargo <email@hidden> wrote:
>
> I was just wondering if anyone can point out an
> example that I can take a look at that will
> demonstrate how to code basic opening and closing of
> panels or windows from a menu tab or button. As of now
> I can only trigger an opening of a window once then if
> I close it, I am not able to open it again. Is the a
> basic precedure that I need to take load a window (did
> or will load) then show the window ? Is there an
> example somewhere that I can take a look at ?
>
> Thanks,
> Tony
>
> __________________________________________________
> Do You Yahoo!?
> Tired of spam? Yahoo! Mail has the best spam protection around
> http://mail.yahoo.com
> _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> Cocoa-dev mailing list (email@hidden)
> Help/Unsubscribe/Update your Subscription:
>
>
> This email sent to email@hidden
>
--
// Quotes from yours truly -------------------------
"You don't forget, you just don't remember."
"Maturity resides in the mind."
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden