Re: NSSegmentedControl select multiple cells

2010-03-04 Thread Hado Hein
Florian Soenens 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

Re: NSSegmentedControl select multiple cells

2010-03-04 Thread jonat...@mugginsoft.com
On 4 Mar 2010, at 10:50, Florian Soenens wrote: > Hi Jonathan, > > i just discovered the same thing, my control is Textured Rounded and doesn't > work, Regular Rounded seems to work fine. > Should i file a bug? > Hard to know if this is a bug or just a variant behaviour by design. Have you che

Re: NSSegmentedControl select multiple cells

2010-03-04 Thread Florian Soenens
Hi Jonathan, i just discovered the same thing, my control is Textured Rounded and doesn't work, Regular Rounded seems to work fine. Should i file a bug? On 04 Mar 2010, at 11:47, jonat...@mugginsoft.com wrote: > A 10 sec 10.6 demo project - 1 window + 1 NSSegmentedControl - shows this is > pos

Re: NSSegmentedControl select multiple cells

2010-03-04 Thread jonat...@mugginsoft.com
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 h

Re: NSSegmentedControl select multiple cells

2010-03-04 Thread Florian Soenens
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, jonat...@mugginsoft.com wrote: > > On 4 Mar 2010, at 09:28, Florian Soenens wrote: > >> Hi List, >> >> i googled this but fou

Re: NSSegmentedControl select multiple cells

2010-03-04 Thread jonat...@mugginsoft.com
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 mod

NSSegmentedControl select multiple cells

2010-03-04 Thread Florian Soenens
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