• 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
NSSegmentedControl in select any mode not working with textured appearance?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

NSSegmentedControl in select any mode not working with textured appearance?


  • Subject: NSSegmentedControl in select any mode not working with textured appearance?
  • From: Jesper Papmehl-Dufay <email@hidden>
  • Date: Thu, 9 Dec 2010 17:45:44 +0100

Hi!

I'm having a bit of trouble with the segmented control.
I'm trying to use it as a group of check buttons (I set the Mode to Select Any in Interface Builder).
This works fine as long as I don't set the Style to Textured Rounded or Textured Square in IB. If I do, the control stops drawing the buttons in the selected state; it behaves as if the Mode was set to Select None. (The buttons look pressed while the mouse button is down over them, but when the mouse button is released, the button goes back to not looking selected.)
This is reproducible for me in a newly created nib file using the Simulate Interface command in IB, so I don't think it's anything I'm doing wrong in my code.

Does anyone know how to get the Select Any mode (tracking mode NSSegmentSwitchTrackingSelectAny) working with the textured appearance (either the NSSegmentStyleTexturedRounded or the NSSegmentStyleTexturedSquare segment style)?

TIA
/Jesper Papmehl-Dufay
_______________________________________________

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

  • Follow-Ups:
    • Re: NSSegmentedControl in select any mode not working with textured appearance?
      • From: Peter Ammon <email@hidden>
  • Prev by Date: [iOS] How to add push animation to view controller without a navigation controller
  • Next by Date: Re: [iOS] How to add push animation to view controller without a navigation controller
  • Previous by thread: Re: [iOS] How to add push animation to view controller without a navigation controller
  • Next by thread: Re: NSSegmentedControl in select any mode not working with textured appearance?
  • Index(es):
    • Date
    • Thread