Re: NSButton/NSBox interaction

2014-04-10 Thread Tom Doan
Thanks for the help. Embedding each subset inside a custom view did fix the problem. It would certainly have been nice to have the NSButton class reference say something about the change, since it should have been expected to break at least some existing software. > This is a Cocoa port of a C

Re: NSButton/NSBox interaction

2014-04-10 Thread Tom Doan
This is a Cocoa port of a Carbon app (and I also have Windows and GTK versions). My code assumes that I'm controlling the radio buttons, which has worked fine until now (apparently the 10.8 SDK). What I want is a radio style button which turns on when I want it on and turns off when I want it o

Re: NSButton/NSBox interaction

2014-04-10 Thread Kyle Sluder
> On Apr 10, 2014, at 6:57 AM, Keary Suska wrote: > >> On Apr 9, 2014, at 5:30 PM, Graham Cox wrote: >> >> I'm not exactly certain of the mechanism, but I think radio buttons interact >> as a set through the agency of their immediate superview, so if several >> buttons share it, they are assum

Re: NSButton/NSBox interaction

2014-04-10 Thread Keary Suska
On Apr 9, 2014, at 5:30 PM, Graham Cox wrote: > > On 10 Apr 2014, at 7:06 am, Tom Doan wrote: > >> have a dialog which has an NSBox. Inside the NSBox are two >> (separate, but conceptually linked) sets of radio buttons. These are >> just NSButtons with radio style---I haven't (at least intent

Re: NSButton/NSBox interaction

2014-04-10 Thread Mailing lists
On 9 Apr 2014, at 22:06, Tom Doan wrote: > I have a dialog which has an NSBox. Inside the NSBox are two > (separate, but conceptually linked) sets of radio buttons. These are > just NSButtons with radio style---I haven't (at least intentionally) > embedded them into an NSMatrix. However, when

Re: NSButton/NSBox interaction

2014-04-09 Thread Graham Cox
On 10 Apr 2014, at 7:06 am, Tom Doan wrote: > have a dialog which has an NSBox. Inside the NSBox are two > (separate, but conceptually linked) sets of radio buttons. These are > just NSButtons with radio style---I haven't (at least intentionally) > embedded them into an NSMatrix. However, wh

NSButton/NSBox interaction

2014-04-09 Thread Tom Doan
I have a dialog which has an NSBox. Inside the NSBox are two (separate, but conceptually linked) sets of radio buttons. These are just NSButtons with radio style---I haven't (at least intentionally) embedded them into an NSMatrix. However, when I select one of the buttons from one set, it reset