Re: What is the best approach for custom tab bar interface?
Re: What is the best approach for custom tab bar interface?
- Subject: Re: What is the best approach for custom tab bar interface?
- From: Jack Carbaugh <email@hidden>
- Date: Thu, 8 Apr 2010 13:27:20 -0400
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 (email@hidden)
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:
This email sent to email@hidden
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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:
This email sent to email@hidden