Re: NSSegmentedControl select multiple cells
Re: NSSegmentedControl select multiple cells
- Subject: Re: NSSegmentedControl select multiple cells
- From: "email@hidden" <email@hidden>
- Date: Thu, 4 Mar 2010 10:47:58 +0000
A 10 sec 10.6 demo project - 1 window + 1 NSSegmentedControl - shows this is possible.
However, behaviour seems to vary depending on the style of the control.
The textured rounded style seems to like to do its own thing.
Other styles are more well behaved.
Regards
Jonathan Mitchell
Developer
http://www.mugginsoft.com
On 4 Mar 2010, at 10:31, Florian Soenens wrote:
> No bindings, not even the enabled binding.
> I was even wondering if it is uberhaupt possible to select multiple cells in a NSSegmentedControl?
>
> On 04 Mar 2010, at 10:43, email@hidden wrote:
>
>>
>> On 4 Mar 2010, at 09:28, Florian Soenens wrote:
>>
>>> Hi List,
>>>
>>> i googled this but found nothing relevant.
>>> I want a segmented control with 6 cells that instead of acting like radio buttons, they should act as checkboxes, that is, multiple cells should be selected.
>>> I tried to set the mode to "select any" in IB but no no avail.
>>> Also tried setting the mode programmatically, but that doesn't work either.
>>> Every time i click a cell, the others get deselected.
>>>
>>> I've seen examples of how to deselect all cells but not how to select multiple.
>>>
>>> Anyone has any ideas?
>>>
>> Are you using bindings?
>> Whenever a control seems to be acting counter intuitively I always check my bindings' options.
>>
>> Regards
>>
>> Jonathan Mitchell
>>
>> Developer
>> http://www.mugginsoft.com
>>
>
>
>
> Looking for Web-to-Print Solutions?
> Visit our website : http://www.vit2print.com
>
>
> This e-mail, and any attachments thereto, is intended only for use by the addressee(s) named herein and may contain legally privileged and/or confidential information and/or information protected by intellectual property rights.
> If you are not the intended recipient, please note that any review, dissemination, disclosure, alteration, printing, copying or transmission of this e-mail and/or any file transmitted with it, is strictly prohibited and may be unlawful.
> If you have received this e-mail by mistake, please immediately notify the sender and permanently delete the original as well as any copy of any e-mail and any printout thereof.
> We may monitor e-mail to and from our network.
>
> NSS nv Tieltstraat 167 8740 Pittem Belgium
_______________________________________________
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