• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Opening panel
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Opening panel


  • Subject: Re: Opening panel
  • From: "Tomas Zahradnicky, Jr." <email@hidden>
  • Date: Mon, 18 Mar 2002 19:42:33 +0100

On Monday, March 18, 2002, at 08:58 , Tomas Zahradnicky, Jr. wrote:

perhaps I didn't understand it, but I don't know how to open a panel. First window is opened due to be first responder, right, but what if I want to open another window --- a prefs panel stored in nib? I cannot find any class method in NSPanel or NSWindow. Is it "hidden" somewhere else?

Uh-oh?

Just plain -orderFront: or, for panel more probably, -makeKeyAndOrderFront:

Ondra,

the problem is that I don't have NSPanel* to send this message to. Can I assume that If I create some controller class in IB and then link controller's window to my panel, will [[mycontroller alloc] init] display the panel (or at least have NSPanel*) to tell it to display?


-Tomas
--
# Tomas Zahradnicky, Jr
# The Czech Technical University
# Dept of Computer Science, FEE-CTU Prague
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

  • Follow-Ups:
    • Re: Opening panel
      • From: Ondra Cada <email@hidden>
References: 
 >Re: Opening panel (From: Ondra Cada <email@hidden>)

  • Prev by Date: Re: expanding the view area of a window - please help
  • Next by Date: Re: Newbie - which NSTextField is the cursor in?
  • Previous by thread: Re: Opening panel
  • Next by thread: Re: Opening panel
  • Index(es):
    • Date
    • Thread