• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Tab view customization
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Tab view customization


  • Subject: Re: Tab view customization
  • From: Arun <email@hidden>
  • Date: Fri, 11 Sep 2009 13:03:43 +0530

Thanks Graham,
I tried your suggestion and it works well.
But to my surprise i found that if i use a Segmented Control with style as
"Small square", the IB throws a warning if the Deployment target is set as
Mac OS X 10.4.x.
Is there any way in which we can achieve "Small sqaure" style Segmented
Control for Tiger?

Thanks
Arun KA


On Wed, Sep 9, 2009 at 1:24 PM, Graham Cox <email@hidden> wrote:

>
> 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@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

References: 
 >Tab view customization (From: Arun <email@hidden>)
 >Re: Tab view customization (From: Graham Cox <email@hidden>)

  • Prev by Date: Printing with Snow Leopard
  • Next by Date: Re: Subversion and Interface Builder
  • Previous by thread: Re: Tab view customization
  • Next by thread: how to use Tx3gDescriptionHandle
  • Index(es):
    • Date
    • Thread