Re: NSButton (radio button) not calling action when overlapped by invisible NSButton?
Re: NSButton (radio button) not calling action when overlapped by invisible NSButton?
- Subject: Re: NSButton (radio button) not calling action when overlapped by invisible NSButton?
- From: Fritz Anderson <email@hidden>
- Date: Fri, 13 Mar 2015 12:52:20 -0500
On 10 Mar 2015, at 5:01 PM, Aandi Inston <email@hidden> wrote:
> The dialogs are frequently very complex, with areas showing different
> groups of controls according to context. Individual controls are
> shown/hidden by the higher level code to make this work. Radio buttons are
> naturally implemented as an NSButton with suitable style.
[“Hidden” controls seem sometimes to intercept clicks in visible ones.]
> Can anyone make any suggestions about whether this diagnosis has any ring of truth, and how to fix or further investigate it?
It’s plausible. The canonical solution to having a suite of control layouts to be hidden or revealed as needed is to wrap them in an NSTabView, hide the tabs, and switch among them programmatically.
— F
_______________________________________________
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