• 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: draw selected NSSegmentedControl image?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: draw selected NSSegmentedControl image?


  • Subject: Re: draw selected NSSegmentedControl image?
  • From: Shaun Wexler <email@hidden>
  • Date: Thu, 8 Sep 2005 21:15:17 -0700

On Sep 8, 2005, at 4:44 PM, Scott Ellsworth wrote:

Hi, all.

I have an NSSegmentedControl with images as the content for the segments. I do not see a way to give it a different image to draw when it is selected. I have a 'selected' and a 'not selected' image all ready to go, but IB only allows for the drag of one image.

Did I miss something?

It's possible (and easy) if you subclass it, but the standard IB palette wouldn't support the alternate image; you'd have to write your own.
--
Shaun Wexler
MacFOH
http://www.macfoh.com



_______________________________________________ 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
References: 
 >draw selected NSSegmentedControl image? (From: Scott Ellsworth <email@hidden>)

  • Prev by Date: Scrolling notification
  • Next by Date: Re: Visual themes (Probably wrong list)
  • Previous by thread: draw selected NSSegmentedControl image?
  • Next by thread: Quick Question: Can't alloc an NSInvocation?
  • Index(es):
    • Date
    • Thread