• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Action isn't sent
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.


  • Follow-Ups:
    • Re: Action isn't sent
      • From: Wilhelm Phillips <email@hidden>
    • Re: Action isn't sent
      • From: j o a r <email@hidden>
    • Re: Action isn't sent
      • From: Herr Witten <email@hidden>
  • Prev by Date: Re: Drawing Pixels with NSBezierPath
  • Next by Date: Re: Newbie: Cocoa App accessing SQL Server DB
  • Previous by thread: Re: System Preference Pane Newbie Queston
  • Next by thread: Re: Action isn't sent
  • Index(es):
    • Date
    • Thread