Skip navigation.
 
mlNSColorWell's target/action inconsistency?
FROM : Daryn
DATE : Wed Nov 20 06:30:43 2002

Mamasam has a few posts on this issue, but the proposed solutions seem
like ugly hacks...

Here's the behavior I've observed for a color well being changed by a
color panel:
1) If it's continuous, a stream of action messages is sent.
2) If it's not continuous, no actions are ever sent?

Why doesn't a color well do this?

   - (void)deactivate {
       [super deactivate];
       if (![self isContinuous]) {
           [self sendAction:[self action] to:[self target]];
       }
   }

Am I just overlooking something, or is this behavior really not
supported by the stock class?

Daryn
_______________________________________________
cocoa-dev mailing list | <email_removed>
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

Related mailsAuthorDate
No related mails found.