• 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 selection mode
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

NSSegmentedControl selection mode


  • Subject: NSSegmentedControl selection mode
  • From: Andrew Kimpton <email@hidden>
  • Date: Tue, 6 May 2008 23:09:17 -0400

I have an NSSegmentedControl which I'm trying to make work just like the one in iCal. I have two central segments (Week & Month - no days) and a segment at each end for forward/back.

If the control is in 'select one' mode I can have either week or month selected and drawn in the darkened start. When I get a click in the end cells I restore the selection to either the week or month segment (basically restore the selection to that before the click).

This works but I get a redraw flash on the week/month cells. iCal doesn't suffer from this 8-)

I've tried playing with setting other tracking modes (like 'select any') but it that mode the control doesn't seem to reflect my 'setSelectedSegment' messages at all and I can't get the week/month segments to draw in the darkened selected state.

Any other suggestions on what might be going on ?

Andrew 8-)

_______________________________________________

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


  • Prev by Date: Re: setImage for NStepper like NSButton
  • Next by Date: NSBrower selectedCells lies
  • Previous by thread: Re: setImage for NStepper like NSButton
  • Next by thread: NSBrower selectedCells lies
  • Index(es):
    • Date
    • Thread