From the category archives:

ComboBox

The following example shows how you can create a simple online estimate form in Flex using some ComboBox controls and some simple ActionScript.

[click to continue…]

{ 2 comments }

In a previous example, “Changing the Flex ComboBox control’s opening and closing easing functions”, we saw how you could control how the open/close duration and easing functions on the drop down list in a Halo ComboBox control by setting the openDuration, openEasingFunction, closeDuration, and closeEasingFunction styles.

The following example shows how you can set the Halo ComboBox control’s openEasingFunction and closeEasingFunction styles in a <Style/> block using the new PropertyReference() method in Flex 4.

Full code after the jump.

[click to continue…]

{ 3 comments }

The following example shows how you can set the icon/symbol color on a Halo ComboBox control in Flex 4 by setting the symbolColor style.

Full code after the jump.

[click to continue…]

{ 0 comments }

In a previous example, “Removing the vertical separator from the ComboBox control in Flex”, we saw how you could remove the vertical separator from the Flex ComboBox control by creating a custom ComboBox skin using ActionScript.

The following example shows how you can remove the vertical separator fro a Halo ComboBox control (with default Spark skin) in Flex 4 by creating a custom skin and setting the skin style.

Full code after the jump.

[click to continue…]

{ 0 comments }

The following example shows how you can remove the vertical separator from the Flex ComboBox control by creating a custom ComboBox skin using ActionScript.

Full code after the jump.

[click to continue…]

{ 6 comments }

The following example shows how you can set the icon color of a disabled Flex CheckBox control by setting the disabledIconColor style.

Full code after the jump.

[click to continue…]

{ 0 comments }

The following example shows how you can set the border color for a Flex ComboBox control’s dropdown menu by setting the dropdownBorderColor style.

Full code after the jump.

[click to continue…]

{ 1 comment }

The following example shows how you can set different fonts for different items in a Flex ComboBox control’s dropdown menu by using a custom item renderer.

Full code after the jump.

[click to continue…]

{ 14 comments }

Setting the label color on a disabled ComboBox control in Flex

by Peter deHaan July 19, 2008

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.

Read the full article →

Setting the dropdown menu border thickness and border color on a ComboBox control in Flex

by Peter deHaan July 18, 2008

The following example shows how you can set the border color and border thickness on a Flex ComboBox control’s dropdown menu by setting the borderColor, borderThickness, and dropdownStyleName styles.
Full code after the jump.

Read the full article →

Disabling keyboard navigation on the ComboBox control in Flex

by Peter deHaan July 16, 2008

The following example shows how you can disable keyboard navigation in a Flex ComboBox control by extending the ComboBox class and overriding the protected keyDownHandler() method.
Full code after the jump.

Read the full article →

Setting a selection disabled color on a ComboBox control’s dropdown menu in Flex

by Peter deHaan July 15, 2008

The following example shows how you can set a background color for a selected item in a disabled Flex ComboBox control by setting the selectionDisabledColor style.
Full code after the jump.

Read the full article →