Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSToolbar Acting as Tabs



On Thursday, July 17, 2003, at 1:00 AM, email@hidden wrote:
I can do toolbars; I can do tabs. The question is how to make a toolbar so
it changes window content LIKE tabs? The prime example of this would be how
System Preferences works.

Combine the two....

That is, shove a tabless tabview into your window as the content view, then invoke one of the various -selectTabViewItem*: methods on the tab view whenever the user clicks on one of the items in the toolbar.

It gets tricky if you need to resize the window.

b.bum
_______________________________________________
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.



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.