From the category archives:

List

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.

[click to continue…]

{ 0 comments }

The following example shows how you can use a CFF/DefineFont4 embedded font with a Halo/MX List control in Flex 4 by setting the textFieldClass style to the new mx.core.UIFTETextField class.

Full code after the jump.

[click to continue…]

{ 0 comments }

The following example shows how you can remove the border skin on a Flex List control by setting the borderSkin style to null using MXML, CSS, and ActionScript.

Full code after the jump.

[click to continue…]

{ 4 comments }

The following example shows how you can toggle item roll over highlighting on a Flex List control by setting the useRollOver style.

Full code after the jump.

[click to continue…]

{ 0 comments }

The following example shows how you can set the item selection duration on a Flex List control by setting the selectionDuration style.

Full code after the jump.

[click to continue…]

{ 0 comments }

The following example shows how you can add a data effect when the items in a data provider change in a Flex List control by setting the itemsChangeEffect effect style.

Full code after the jump.

[click to continue…]

{ 11 comments }

The following example shows how you can set the label color for a selected item in a Flex List control by setting the textSelectedColor style.

Full code after the jump.

[click to continue…]

{ 0 comments }

The following example shows how you can toggle a drop shadow on a Flex List control by setting the dropShadowEnabled style.

Full code after the jump.

[click to continue…]

{ 0 comments }

Setting the label color on a disabled List control in Flex

by Peter deHaan July 21, 2008

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 [...]

Read the full article →

Setting the text indent on a List control in Flex

by Peter deHaan July 20, 2008

The following example shows how you can set the text indent on a Flex List control by setting the textIndent style.
Full code after the jump.

Read the full article →

Changing the background color of a disabled List control in Flex

by Peter deHaan July 17, 2008

The following example shows how you can customize the background color of a disabled Flex List control by setting the backgroundDisabledColor style.
Full code after the jump.

Read the full article →

Disabling keyboard navigation on the List control in Flex

by Peter deHaan June 11, 2008

In a previous example, “Disabling keyboard navigation on the Accordion container in Flex”, we saw how to disabe keyboard navigation on the Flex Accordion container by overriding the keyDownHandler() method.
The following example shows how you can disable keyboard navigation on the Flex List control by extending the List class and overriding the protected keyDownHandler() method.
Full [...]

Read the full article →