Tag Archives: scroller

Programmatically scrolling the Spark TextArea control in Flex 4

The following example shows how you can programmatically scroll the Spark TextArea control in Flex 4 by setting the vertical scroll position on the horizontal and vertical scroll bars in the scroller, horizontalScrollBar, and verticalScrollBar skin parts.

Continue reading Programmatically scrolling the Spark TextArea control in Flex 4

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