On Sep 3, 2008, at 11:19 AM, Elsa Kahsen wrote:

Actually I realize I had two questions.
Here is my follow up question. How do you set the fore and background colors
of NSPopupButtons? -setBackgroundColor doesn't seem to apply to
NSPopupButtons.

Thanks a lot.

What do you mean by foreground and background colors?

Perhaps you mean the color of the title text? You can change the color of the control's title text by setting a colored NSAttributedString on its menu item. But I'm not sure what you mean by background color - popup buttons have a standard appearance.

-Peter

_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Reply via email to