Re: Changing the "on" color of an NSButton
Re: Changing the "on" color of an NSButton
- Subject: Re: Changing the "on" color of an NSButton
- From: email@hidden
- Date: Sat, 19 Jan 2002 14:36:32 -0500
Put an invisible button on top of a Tiff image included in your resources
folder.
See archives for this list Nov. 4&5th, 2001. If you can't find it let me
know and I will forward the messages responding to my asking about this.
Brian E. Howard
Cocoa Cult Central
On Saturday, January 19, 2002, at 02:17 PM, Eric Ridge wrote:
Hello! I've searched the archives and Apple's developer site for a few
days trying to find an answer. All I found is that the question hasn't
even been asked!
Question:
Is it possible to change the "on" color of a Round On/Off (or any)
Button?
I still want the button to be gray when "off", but when clicked "on", I'd
like it to be red or purple or green or something. Nothing in the
NSButton/Cell object tree jumps out as the thing to do. I suspect I'll
have to end up subclassing NSButtonCell so I can draw it myself... but I
really don't want to do that just to change the color.
Any push in the right direction will be greatly appreciated!
Thanks in advance,
eric
PS, is it appropriate to ANNOUNCE new (possibly open-source) Cocoa
applications here? I'm working on something which I believe will be very
useful.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.