Action isn't sent
Action isn't sent
- Subject: Action isn't sent
- From: Björn Carlström <email@hidden>
- Date: Sun, 4 Jul 2004 10:28:45 +0200
What's wrong with this code? I think its fairly straight forward but
the second method is never called from the colorPanel.
The code is called when a sheet with settings is displayed. Could the
use of a sheet interfere with how messages are sent?
- (IBAction) colorWellClick:(id) sender
{
NSColorPanel* panel;
panel = [NSColorPanel sharedColorPanel];
[panel setTarget: self];
[panel setAction: @selector (setIntExtTimeColor:)];
[panel setContinuous:YES];
NSColor* color;
// Code that sets the color
[panel setColor: color];
[panel makeKeyAndOrderFront: self];
}
- (void) setIntExtTimeColor:(id) sender
{
// I never reach this point!
}
Bjvrn Carlstrvm
_______________________________________________
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.