Category Archives: List

Disabling item highlight indicator in the MX List control in Flex 3

In a previous example, “Disabling item roll over highlighting in the Flex DataGrid control”, we saw how you could disable the item roll over highlight in the MX DataGrid control in Flex by setting the Boolean useRollOver style.

The following example shows how you can disable the highlight indicator in the MX List control in Flex 3 by subclassing the List control and overriding the protected drawHighlightIndicator() method.

Continue reading Disabling item highlight indicator in the MX List control in Flex 3

Changing the mouse cursor when rolling over items in an MX List control in Flex

The following example shows how you can change the mouse cursor when rolling over an item in an MX List control in Flex by listening for the itemRollOver and itemRollOut events and using the CursorManager.

Continue reading Changing the mouse cursor when rolling over items in an MX List control in Flex

Setting the label color on a disabled List control in Flex

In a previous example, “Changing the background color of a disabled List control in Flex”, we saw how you could customize the background color of a disabled Flex List control by setting the backgroundDisabledColor style.

The following example shows how you can set the label color on a disabled Flex ComboBox control by setting the disabledColor style.

Full code after the jump.

Continue reading Setting the label color on a disabled List control in Flex