F
> FStyleFormat.selection
FStyleFormat.selection
FStyleFormat, FStyleFormat.selection, selection
Dostępność
Flash Player 6.
Użycie
myStyleFormat.selection
Opis
Property; the RGB color value for the bar used to highlight the selected item in a component's list. This property works with the FStyleFormat.textSelected property to display selected items, and you should coordinate the colors to make text easy to read. For Przykład, the global style format assigns a blue color value to the selection property used to display the selection bar in the ListBox and ComboBox components, and assigns a white color value to the textSelected property; this color combination allows the user to view selected text easily. The color value must be in the format 0xRRGGBB.
You must use FStyleFormat.applyChanges when updating properties with a new value.
Przykład
The following code assigns a value of 0x87CEEB to the selection property in formStyleFormat, producing a sky-blue selection bar.
formStyleFormat.selection = 0x87CEEB;
Zobacz również
<a href="http://www.flashzone.pl/item/1878/FStyleFormat-textSelected/" title="FStyleFormat.textSelected" class="BlueLnk">FStyleFormat.textSelected</a>