Tag Archive for 'verticalscrollpolicy'

26
Aug

Setting the vertical scrollbar policy on a TextArea control in Flex

The following example shows how you can set the vertical scrollbar policy on a Flex TextArea control by setting the verticalScrollPolicy property to one of the constants in the mx.core.ScrollPolicy class.

Full code after the jump.

Continue reading ‘Setting the vertical scrollbar policy on a TextArea control in Flex’

26
Aug

Programmatically scrolling a TextArea control in Flex

The following example shows how you can scroll a Flex TextArea control by setting the verticalScrollPosition and maxVerticalScrollPosition properties.

Full code after the jump.

Continue reading ‘Programmatically scrolling a TextArea control in Flex’

21
Nov

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’

09
Nov

Setting a Flex container’s vertical scroll policy

The following example shows how you can use the verticalScrollPolicy property on a Flex VBox container to control the appearance of the vertical scroll bar when the container’s contents exceed the dimensions of the container.

Full code after the jump.

Continue reading ‘Setting a Flex container’s vertical scroll policy’