On 09/09/2009, at 5:46 PM, Arun wrote:

How can we customize the NSTabView looks to look like a NSSegmentedControl?
Any idea or sample code?


You can't customise the tab view that way (unless you subclass it and do it yourself), but there's a much easier way.

Just set the tab view to tabless and add a segmented control to switch between the tabs. I believe you can bind the two views together in IB such that you don't need to write any code to implement the switching, though personally I haven't done it that way and just write the one line of code it takes in my controller.


--Graham


_______________________________________________

Cocoa-dev mailing list ([email protected])

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 [email protected]

Reply via email to