Tag Archive for 'selectable'

06
Aug

Toggling whether a user can select text in a TextArea control in Flex

The following examples show how you can control whether a user can select the text in a Flex TextArea control by setting the selectable property in MXML and ActionScript.

Full code after the jump.

Continue reading ‘Toggling whether a user can select text in a TextArea control in Flex’

10
Jul

Preventing users from changing the ComboBox control in Flex

The following example shows how you can prevent users from changing the value in a Flex ComboBox control by setting the dropdown menu’s selectable property.

Full code after the jump.

Continue reading ‘Preventing users from changing the ComboBox control in Flex’

17
Apr

Adding links to a Panel container’s status text in Flex

The following example shows how you can assign an HTML formatted string to a Panel container’s status text field using the getStatusTextField() method in the mx_internal namespace.

Full code after the jump.

Continue reading ‘Adding links to a Panel container’s status text in Flex’

01
Feb

Preventing a user from selecting an item in a Flex DataGrid control

The following example shows how you can prevent a user from selecting items in a Flex DataGrid control by setting the selectable property.

Full code after the jump.

Continue reading ‘Preventing a user from selecting an item in a Flex DataGrid control’

26
Jan

Listening for the link event in a Flex Label control

The following example shows how you can use the link event with the Label control in Flex to handle hyperlinks embedded within a string of text. By using the “event:” prefix in the href property of an anchor (<a />) tag, you can handle links within your Flex application, use the ExternalInterface API to call JavaScript from Flex, or do pretty much whatever else you want.

Full code after the jump.

Continue reading ‘Listening for the link event in a Flex Label control’