• 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
can you change the highlight color of an NSSegmentedControl?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

can you change the highlight color of an NSSegmentedControl?


  • Subject: can you change the highlight color of an NSSegmentedControl?
  • From: Mike Morton <email@hidden>
  • Date: Thu, 8 Sep 2005 15:34:16 -0400

Folks --

I’d like to use a color other than blue for highlighting the selected item in an NSSegmentedControl.

You could probably do it by overriding drawSegment:inFrame:withView: but I can’t find -- in documentation or Google -- any examples of this kind of custom drawing. Any suggestions?

I know I can use my own images in the cell, but that wouldn’t work well for our application, where both the text and segment sizing vary.

Thanks in advance,

-- Mike _______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Prev by Date: Re: Undoable controls
  • Next by Date: editing an entire NSManagedObject with a formatter
  • Previous by thread: Re: Icons in menus
  • Next by thread: editing an entire NSManagedObject with a formatter
  • Index(es):
    • Date
    • Thread