Re: Dumb question about radio buttons

2012-02-24 Thread Gideon King
Not sure about your number of items in your matrix, but you are wanting [sender selectedTag] to get the user's choice. Regards Gideon On 23/02/2012, at 11:58 PM, William Squires wrote: -(IBAction)baseChanged:(id)sender { int choice = [sender tag]; } I always get, user chose

Re: Dumb question about radio buttons

2012-02-24 Thread William Squires
That's what I was looking for - now, back to my project... tomorrow! :) On Feb 23, 2012, at 2:04 PM, Seth Willits wrote: On Feb 23, 2012, at 5:58 AM, William Squires wrote: I have a custom view with an NSBox containing an NSMatrix of button cells (radio buttons) When I created the

Dumb question about radio buttons

2012-02-23 Thread William Squires
I have a custom view with an NSBox containing an NSMatrix of button cells (radio buttons) When I created the NSMatrix, I told it I wanted 3 of them, but in the view hierarchy, I can see the NSMatrix under the NSBox, but it has 4 button cells under it, not the three I asked for - Is this an

Re: Dumb question about radio buttons

2012-02-23 Thread Seth Willits
On Feb 23, 2012, at 5:58 AM, William Squires wrote: I have a custom view with an NSBox containing an NSMatrix of button cells (radio buttons) When I created the NSMatrix, I told it I wanted 3 of them, but in the view hierarchy, I can see the NSMatrix under the NSBox, but it has 4 button

Re: Dumb question about radio buttons

2012-02-23 Thread Keary Suska
On Feb 23, 2012, at 6:58 AM, William Squires wrote: I have a custom view with an NSBox containing an NSMatrix of button cells (radio buttons) When I created the NSMatrix, I told it I wanted 3 of them, but in the view hierarchy, I can see the NSMatrix under the NSBox, but it has 4 button

Re: Dumb question about radio buttons

2012-02-23 Thread Graham Cox
On 24/02/2012, at 12:58 AM, William Squires wrote: I have a custom view with an NSBox containing an NSMatrix of button cells (radio buttons) When I created the NSMatrix, I told it I wanted 3 of them, but in the view hierarchy, I can see the NSMatrix under the NSBox, but it has 4 button