Grant Wilkinson
Grant Wilkinson

Reputation: 1128

Bring up Color Palette

How can I create an action so when a button is clicked the Apple color palette window appears? I do not want to use an NSColorWell.

Thanks!

Upvotes: 0

Views: 513

Answers (1)

rdelmar
rdelmar

Reputation: 104082

Do you mean the color panel? There's a method orderFrontColorPanel in the Application place holder in IB -- just connect that to your button.

Upvotes: 2

Related Questions