Re: Can't set NSColorWell
Re: Can't set NSColorWell
- Subject: Re: Can't set NSColorWell
- From: Andy Lee <email@hidden>
- Date: Wed, 27 Feb 2002 13:20:40 -0500
At 11:06 AM -0700 2/27/02, Chris Gehlker wrote:
>
I'm trying to set the color in an NSColorWell from user defaults but it's
>
not working. In fact [myColorWell setColor:[NSColor greenColor]] isn't
>
working. Anybody know what's going on?
[myColorWell setColor:[NSColor greenColor]] worked for me in a quick test just now.
Maybe you've broken (or forgotten to set) the myColorWell outlet in IB? If so, myColorWell would be nil at the time of the -setColor: call.
--Andy
_______________________________________________
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.