On Jun 24, 2012, at 8:29 PM, Gavin Stokes wrote:

> I knew that this is how it usually works, but started wondering because the
> doc seems to go out of its way NOT to mention it.  How can you write
> multiple (wrong) descriptions of this control without noting this
> fundamental aspect of its function?

Uh, guys, you _can_ make segmented controls act as other than radio buttons. 
It's just that the API for it is on the cell (NSSegmentedCell), not the 
control. Just change the tracking mode:

    NSSegmentSwitchTrackingSelectOne = 0,  // only one button can be selected
    NSSegmentSwitchTrackingSelectAny = 1,  // any button can be selected
    NSSegmentSwitchTrackingMomentary = 2   // only selected while tracking

—Jens

Attachment: smime.p7s
Description: S/MIME cryptographic signature

_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to