Re: Changing color in NSColorPanel without message
Re: Changing color in NSColorPanel without message
- Subject: Re: Changing color in NSColorPanel without message
- From: Andy Lee <email@hidden>
- Date: Thu, 17 Jan 2013 17:45:59 -0500
On Jan 17, 2013, at 2:53 PM, Ken Thomases <email@hidden> wrote:
> On Jan 16, 2013, at 2:47 PM, Melvin Walker wrote:
>
>> Is it possible to programmatically change color (using -setColor:) in NSColorPanel without it sending a changeColor: message to the first responder?
>>
>> We'd like it to just reflect a color change without telling the responder chain about it.
>
> I believe that NSColorPanel dispatches the -changeColor: action method using -[NSApplication sendAction:to:from:].
P.S. You were right about this.
--Andy
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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:
This email sent to email@hidden