I'm writing an application that uses the 10.4 Universal SDK for
compatibility reasons. Looking in the NSButtonCell documentation, it
states that recessed cells are supported in 10.4 and above.
However, if I add one and set its mode to Push On Push Off, it doesn't
toggle as expected. It just behaves like a regular button. But if I
set my SDK to 10.5 it toggles properly.
This was just a button I placed in IB - there is no code referencing
it yet, so there is nothing conflicting with it. It is just a regular,
unsubclassed NSButton with its style set to Recessed.
It's worth mentioning that if I switch it to a Gradient button with
Push On Push Off set, it works just fine. Only when I switch it to
Recessed does it refuse to work under 10.4. I've also tried setting
the mode to On Off and Toggle and these make no difference.
Am I doing something wrong or is this functionality not supported in
10.4? I have found no mention of it being Leopard-only in the
documentation. Can someone confirm to me that this is the case?
Thanks.
_______________________________________________
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com
This email sent to arch...@mail-archive.com