Tag Archives: verticalScrollPolicy

Modifying the corner white box on an MX Container when scroll bars are visible in Flex

The following example shows how you can modify the visibility and alpha of the white box in the lower-right corner of an MX Container in Flex when both the horizontal and vertical scroll bars are visible by using the rawChildren property and getChildByName() method.

Continue reading Modifying the corner white box on an MX Container when scroll bars are visible in Flex

Setting a custom horizontal scroll bar skin on a Spark List control in Flex 4

The following example shows how you can apply a custom horizontal scroll bar skin on the Spark List control in Flex 4 by setting the skinClass style.

Full code after the jump.

Continue reading Setting a custom horizontal scroll bar skin on a Spark List control in Flex 4

Styling the horizontal and vertical scroll bars on a Spark List control in Flex 4

The following example shows how you can set a base theme color on a Spark List control’s horizontal and vertical scroll bar by setting the chromeColor style.

Continue reading Styling the horizontal and vertical scroll bars on a Spark List control in Flex 4

Toggling horizontal and vertical scroll bars on a Spark List control in Flex 4

The following example shows how you can show or hide horizontal and vertical scroll bars on a Spark List control in Flex 4 by setting the horizontalScrollPolicy and/or verticalScrollPolicy styles.

Full code after the jump.

Continue reading Toggling horizontal and vertical scroll bars on a Spark List control in Flex 4

Selecting multiple items in Flex List and DataGrid controls

The following example shows how you can have multiple selected items in a List or DataGrid control at the same time. To select multiple items at once, hold down the Shift or Control keys on your keyboard while pressing the mouse button on a list item.

Full code after the jump.

Continue reading Selecting multiple items in Flex List and DataGrid controls