oppure tramite AS

codice:
myComponent.setStyle("Style ", "object-value");
Style Theme Description

Stili supportati

themeColor
scrollTrackColor
symbolColor
symbolDisabledColor

Esempi per i valori del colore

Halo
The base color scheme of a component. Possible values are "haloGreen", "haloBlue", and "haloOrange". The default value is "haloGreen".
scrollTrackColor

Sample
The background color for the scroll track.The default value is 0xCCCCCC (light gray).

symbolColor
Sample
The color of the up and down scroll arrows. The default value is 0x000000 (black).

symbolDisabledColor
Sample
The color of the up and down scroll arrows in a disabled scroll bar. The default value is 0x848384 (dark gray).

Property del componente

upArrowUpName
The up (normal) state of the up and left buttons. The default value is ScrollUpArrowUp.

upArrowOverName
The rollover state of the up and left buttons. The default value is ScrollUpArrowOver.

upArrowDownName
The pressed state of the up and left buttons. The default value is ScrollUpArrowDown.

downArrowUpName
The up (normal) state of the down and right buttons. The default value is ScrollDownArrowUp.

downArrowOverName
The rollover state of the down and right buttons. The default value is ScrollDownArrowOver.

downArrowDownName
The pressed state of the down and right buttons. The default value is ScrollDownArrowDown.

scrollTrackName
The symbol used for the scroll bar's track (background). The default value is ScrollTrack.

scrollTrackOverName
The symbol used for the scroll track (background) when rolled over. The default value is undefined.

scrollTrackDownName
The symbol used for the scroll track (background) when pressed. The default value is undefined.

thumbTopName
The top and left caps of the scroll box (thumb). The default value is ScrollThumbTopUp.

thumbMiddleName
The middle (expandable) part of the thumb. The default value is ScrollThumbMiddleUp.

thumbBottomName
The bottom and right caps of the thumb. The default value is ScrollThumbBottomUp.

thumbGripName
The grip displayed in front of the thumb. The default value is ScrollThumbGripUp.