F > FStyleFormat.foregroundDisabled |
FStyleFormat.foregroundDisabled
FStyleFormat, FStyleFormat.foregroundDisabled, foregroundDisabled
Availability
Flash Player 6.
Usage
myStyleFormat.foregroundDisabled
Description
Property; the RGB color value for the foreground of a disabled component. The foreground color of disabled user interface elements is usually medium gray. The color value must be in the format 0xRRGGBB.
You must use FStyleFormat.applyChanges when updating properties with a new value.
Example
The following code assigns a value of 0x708090 to the foregroundDisabled property for formStyleFormat, producing a gray foreground for disabled components.
formStyleFormat.foregroundDisabled = 0x708090;
See also
FStyleFormat.backgroundDisabled