enabled of System Font Text?

Hi… If I have plain old text on a window, there isn’t anyway to gray it out is there? I notice that checking off “enabled” does nothing in IB… so I assume not… ?

thanks!

You can programmatically set the color of the text in a text field, using RGB values. Possible values are from 0 (black) to 65535 (white). The ‘enabled’ property for label fields only applies to it’s editability, not it’s color… as the user is not typically supposed to know whether or not it’s enabled. :wink:

Try this…

set text color of text field "text" of window "window" to {39321, 39321, 39321}

j

If you want to set this in Interface Builder, choose “disabledControlTextColor” from the Developer list.