• 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: NSToolbar and NSPopUpButton
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSToolbar and NSPopUpButton


  • Subject: Re: NSToolbar and NSPopUpButton
  • From: j o a r <email@hidden>
  • Date: Thu, 5 Dec 2002 09:54:02 +0100

How do you instantiate the PopUpButton? From a nib file? The same nib file as the window with the toolbar?
If you query the PopUpButton instance for some properties in awakeFromNib:, does it seem alive and well?

NSLog(@"Some item: %@", [myPopUpButton titleOfSelectedItem]);

Does that return what you expect? What if you call it after setting the items?

j o a r

On Thursday, Dec 5, 2002, at 09:41 Europe/Stockholm, Terence G4 Mac wrote:

Thank you. Yes, I believe it's valid at that point.
That code does appear after the [window setToolbar:toolbar]; ... how could I ensure that it's valid at that point?
_______________________________________________
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.

References: 
 >Re: NSToolbar and NSPopUpButton (From: "Terence G4 Mac" <email@hidden>)

  • Prev by Date: Re: NSToolbar and NSPopUpButton
  • Next by Date: Re: NSToolbar and NSPopUpButton
  • Previous by thread: Re: NSToolbar and NSPopUpButton
  • Next by thread: Re: NSToolbar and NSPopUpButton
  • Index(es):
    • Date
    • Thread