Hi!

I think of redesigning the way colors can be selected in one of my apps: Currently I use NSPopupButtons an entry for every color and I'd like to move to NSColorWalls / NSColorPanel with predefined lists. These lists should represent color palettes, here threads of different vendors or different materials.

Is there any way to determine if a selected color was picked from a list? If so, can I identify the list and the color's key (or index) within this list?

For the user e. g. Red from list A is not the same as Red from list B, so I need this information ...

Today I tested a bit with "catalogNameComponent" and "colorNameComponent", but always received an exception. I tried to convert the selected color into NSNamedColorSpace, but didn't get it work. Has anybody got an example or a hint?

Any help is appreciated, Mattes _______________________________________________

Cocoa-dev mailing list ([email protected])

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