• 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
How to associate a view with Color Panel
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

How to associate a view with Color Panel


  • Subject: How to associate a view with Color Panel
  • From: Fei Li <email@hidden>
  • Date: Wed, 3 Nov 2004 11:51:42 -0700

Hello all,
I know these are simple questions but I really can't figure it out.

I opened a NSColorPanel by click on a normal button. I have a customer view to show a sample line in it. I hope it's drew in the color picked in the color panel. I know the changeColor function can do this but I don't know how to connect it to the color panel, even I set [[NSColorPanel sharedColorPanel] setDelegate:self] in that customer view, it still doesn't work.

Another problem is I can't close the color panel. I click on the red button on the color panel, nothing happened, the color panel doesn't go away. I guess I must miss something.

Thanks for any information to help me out!
Fei

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: How to associate a view with Color Panel
      • From: Todd Yandell <email@hidden>
  • Prev by Date: Seattle Xcoder's, next meeting
  • Next by Date: Sheets and hidden apps
  • Previous by thread: Seattle Xcoder's, next meeting
  • Next by thread: Re: How to associate a view with Color Panel
  • Index(es):
    • Date
    • Thread