• 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
NSColorWell / NSColorPanel
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

NSColorWell / NSColorPanel


  • Subject: NSColorWell / NSColorPanel
  • From: koko <email@hidden>
  • Date: Fri, 03 Feb 2012 17:08:42 -0700

In a modal panel I have a NSColorWell.  Clicking the NSColorWell display a NSColorPanel.

The NSColorPanel docs say that the method -(void)changeColor:(id)sender is sent to the first responder and that you can override this method in any responder that needs to respond to a color change.

I have implemented this method in the class that is the file's owner for the modal panel which is a NSWindowController.

The method -(void)changeColor:(id)sender is not called on a color change in the NSColorPanel.

How do I get the method -(void)changeColor:(id)sender called.

-koko
_______________________________________________

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


  • Follow-Ups:
    • Re: NSColorWell / NSColorPanel
      • From: Graham Cox <email@hidden>
  • Prev by Date: Re: How to show last name of user in text field whose first name is selected in popup button
  • Next by Date: Loading Typeface from NSBundle
  • Previous by thread: Stop "developer tools access..." and "gdb-i386-apple-darwin..." alerts
  • Next by thread: Re: NSColorWell / NSColorPanel
  • Index(es):
    • Date
    • Thread