F > FStyleFormat.textDisabled |
![]() ![]() ![]() |
FStyleFormat.textDisabled
Availability
Flash Player 6.
Usage
myStyleFormat
.textDisabled
Description
Property; the RGB color value for the default text color used to display text in disabled components assigned to the style format. 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 0xCOCOC0
to the textDisabled
property for formStyleFormat
, producing silver text when the component is disabled.
formStyleFormat
.textDisabled = 0xCOCOC0;
See also
FStyleFormat.textAlign
, FStyleFormat.textSelected
![]() ![]() ![]() |