NSColorWell's target/action inconsistency?
NSColorWell's target/action inconsistency?
- Subject: NSColorWell's target/action inconsistency?
- From: Daryn <email@hidden>
- Date: Tue, 19 Nov 2002 23:30:43 -0600
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@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.