• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: NSButton (radio button) not calling action when overlapped by invisible NSButton?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: NSButton (radio button) not calling action when overlapped by invisible NSButton?
      • From: Aandi Inston <email@hidden>
References: 
 >NSButton (radio button) not calling action when overlapped by invisible NSButton? (From: Aandi Inston <email@hidden>)

  • Prev by Date: Re: setting table view rows and columns?
  • Next by Date: Re: NSButton (radio button) not calling action when overlapped by invisible NSButton?
  • Previous by thread: NSButton (radio button) not calling action when overlapped by invisible NSButton?
  • Next by thread: Re: NSButton (radio button) not calling action when overlapped by invisible NSButton?
  • Index(es):
    • Date
    • Thread