Re: How to disable/gray an NSTextfield (used as static text)
Re: How to disable/gray an NSTextfield (used as static text)
- Subject: Re: How to disable/gray an NSTextfield (used as static text)
- From: "Sean McBride" <email@hidden>
- Date: Mon, 22 Nov 2004 12:24:16 -0500
Dietmar Planitzer (email@hidden) on Mon, Nov 22, 2004 04:54 said:
>Replace +disabledControlTextColor with +secondarySelectedControlColor
>and you'll get the right color.
That works! great! thanks!
>The easiest way to find out which NSColor factory selector corresponds
>to which color is to check out the Developer color palette in the color
But something is still weird. If you try my little sample:
<http://www.cam.org/~cwatson/GreyingTextTest.sitx>
The text field on the right was set to disabledControlTextColor *within
IB* (via Developer color palette). The text field on the left is set to
disabledControlTextColor *with setTextColor:*. Yet they don't match. As
you say, if I use secondarySelectedControlColor, they match.
Why is that?
Thanks!
--
"First they ignore you, then they attack you, then you win."
_______________________________________________
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