On Sat, Dec 28, 2013, at 06:05 AM, Uli Kusterer wrote: > Are you perhaps trying to implement “sticky” buttons? I.e. buttons that > toggle between on and off when clicked? These haven’t highlighted in > blue for a long time
No, they still highlight in blue (or gray if your control tint is Graphite). Set showsStateBy to NSChangeBackgroundCellMask. You can try out my ButtonTester tool to play with these flags in real time: <https://github.com/kylesluder/ButtonTester> > Maybe you want NSPushOnPushOff button, > which according to the docs highlights the button when pressed, too? You'll note that if you do this (which is just a shortcut for setting showsStateBy and highlightsBy), and your system's control tint is set to Aqua, that the button will highlight in blue. --Kyle Sluder _______________________________________________ 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: https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com