Re: Color Well's Panel displaying alpha
Re: Color Well's Panel displaying alpha
- Subject: Re: Color Well's Panel displaying alpha
- From: "John C. Randolph" <email@hidden>
- Date: Tue, 15 Oct 2002 20:50:48 -0700
On Tuesday, October 15, 2002, at 08:41 PM, Greg Hulands wrote:
I am trying to get the panel that is opened from a color well to have
the setShowsAlpha to be yes. I cannot find how to access the panel as
there is no method in NSColorWell to turn alpha on.
Does anyone know how to turn it on?
Sometime near the launch time, like in your app delegate's
-applicationDidFinishLaunching method, send:
[NSColor setIgnoresAlpha:NO];
-jcr
John C. Randolph <email@hidden> (408) 974-8819
Sr. Cocoa Software Engineer,
Apple Worldwide Developer Relations
http://developer.apple.com/cocoa/index.html
_______________________________________________
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.