I have a NSMatrix with a bunch of NSButton cells in it, in a column.
What I would like to do is show the list as an alternate list of
checkboxes and radio buttons.
[For the curious, this is a sheet that gets shown with a list of
items to be operated on - in some cases you can select multiple items
(checkboxes) and at other times just one item (radio button).]
I tried three approaches:
- delete all the cells, change the prototype from NSSwitchButton to
NSRadioButton (or vice versa), then "renew" the cells
- walk the list of cells and change the type appropriately
- both together.
In all cases, I get the style originally defined in IB3:
switchButton (aka checkbox).
So, what obvious step did I miss?
David
_______________________________________________
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