Category Archives: ComboBox

Changing the opening and closing easing functions on a Halo ComboBox control in Flex 4

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.

Continue reading Changing the opening and closing easing functions on a Halo ComboBox control in Flex 4

Removing the vertical separator from the Halo ComboBox control in Flex 4

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.

Continue reading Removing the vertical separator from the Halo ComboBox control in Flex 4

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

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.

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