Re: NSToolbar and NSPopUpButton
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.