Any control can tell the tab bar to switch the tabview ... or the tab bar itself...

what was suggested was go tabless ... then have a button or any other control send a message to the tab bar to switch it's tab. Far easier to do this than to subclass the tab bar to display its tabs vertically.

On Apr 8, 2010, at 1:10 PM, Philip Mobley wrote:

On Apr 8, 2010, at 8:22 AM, Gideon King wrote:

Absolutely. Use an NSTabView, but set it to be tabless, and create your own control to change the selected tab.

My question isn't how to get the Tabs to work, but the control which controls the tab switching. =)

I need to have a tab style interface, but am not able to use the built in NSTabView because the style is not customizable. Basically I need something similar in look to the Safari tabs, but on a VERTICAL direction. At this point I am thinking about a custom NSView with CALayers for each tab element and then handling the MouseDown and MouseUp events to "capture" the button press. Or is there another approach I can take?

_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/intrntmn%40aol.com

This email sent to intrn...@aol.com

_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to