• 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: NSSegmentedControl select multiple cells
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSSegmentedControl select multiple cells


  • Subject: Re: NSSegmentedControl select multiple cells
  • From: email@hidden (Hado Hein)
  • Date: Thu, 4 Mar 2010 12:34:23 +0100
  • Organization: handmade !

Florian Soenens <email@hidden> wrote:
> how to select multiple.

In IB there is an 'selection' option in the attributes inspector for the
behaviour.

Set it from momentary to multiple.

Afterwards you have to handle that in your code like:
   if ( [control isSelectedForSegment:3] )
and the like.



--
Hado Hein (KSK, DTHG), master craftsman of stagecrafts, Berlin
sip +49.30.91688488
www.beleuchtungsbildner.de - Stage Lighting Directing
www.batchmaker.de - Stage Lighting Design, Control and Routing
_______________________________________________

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: 
 >NSSegmentedControl select multiple cells (From: Florian Soenens <email@hidden>)

  • Prev by Date: Re: NSSegmentedControl select multiple cells
  • Next by Date: Re: Returning a useful error from NSDocument's -readFromURL:...
  • Previous by thread: Re: NSSegmentedControl select multiple cells
  • Next by thread: NSLocale and currency symbols
  • Index(es):
    • Date
    • Thread