Re: Radio buttons as table views
Re: Radio buttons as table views
- Subject: Re: Radio buttons as table views
- From: Quincey Morris <email@hidden>
- Date: Mon, 25 Apr 2016 10:22:07 -0700
- Feedback-id: 167118m:167118agrif8a:167118scoVtmR3IT:SMTPCORP
On Apr 25, 2016, at 06:52 , Lorenzo Thurman <email@hidden> wrote:
I've run into a problem displaying radio buttons in a table view. I need the buttons to behave as they would in a matrix, i. e., exclusive selection. The docs say that for this to happen, the buttons need to share the same supervise and action. The action is no problem, but the super view is. Has anyone tackled this issue before? Is there a way to make this work in a table? And I should add that the radio buttons are part of a subclass of NSView used as the view of a view based table.
You didn’t say what the problem is.
You have either of two possible problems:
1. Each row of the table has a single radio button, and you want exclusivity across the whole table. In this case, you have to implement the functionality yourself — the old NSMatrix solution wouldn’t have been possible either.
2. Each row has a bank of radio buttons, with exclusivity within each row. In this case, as you’ve said, the radio buttons are subviews of a single view (presumably the table cell view). Since the buttons have the same action, you said, this is just the normal situation where they’re mutually exclusive. There’s should be no reason why this doesn’t work normally. |
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden