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.
Continue reading ‘Removing the vertical separator from the ComboBox control in Flex’
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.
Continue reading ‘Setting the arrow icon color of a disabled CheckBox control in Flex’
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.
Continue reading ‘Setting the dropdown menu border color on a ComboBox control in Flex’
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.
Continue reading ‘Displaying different fonts in a dropdown menu on a ComboBox control in Flex’
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 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’
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.
Continue reading ‘Disabling keyboard navigation on the ComboBox control in Flex’
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.
Continue reading ‘Setting a selection disabled color on a ComboBox control’s dropdown menu in Flex’
The following example shows how you can change the text roll over color for a Flex ComboBox control by setting the textRollOverColor style.
Full code after the jump.
Continue reading ‘Setting the text roll over color on a ComboBox control in Flex’
The following example shows how you can specify a custom icon function on a Flex ComboBox control by setting the iconFunction property on the ComboBox control’s dropdown menu.
Full code after the jump.
Continue reading ‘Specifying a custom icon function on a ComboBox control in Flex’
In a previous example, “Setting the item background roll over color on a ComboBox control in Flex”, we saw how you could change the item background roll over color for a ComboBox control by setting the rollOverColor style.
The following example shows how you can change the selected item background color for a Flex ComboBox control by setting the selectionColor style.
Full code after the jump.
Continue reading ‘Setting the selected item background color on a ComboBox control in Flex’
The following example shows how you can change the item background roll over color for a Flex ComboBox control by setting the rollOverColor style.
Full code after the jump.
Continue reading ‘Setting the item background roll over color on a 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’
The following example shows how you can toggle the drop shadow on the Flex ComboBox control by setting the dropShadowEnabled style on the ComboBox control’s dropdown menu.
Full code after the jump.
Continue reading ‘Toggling the drop shadow on the ComboBox control in Flex’
The following example shows how you can toggle the item roll over hightlighting on a Flex ComboBox control’s dropdown menu by setting the useRollOver style using ActionScript or CSS.
Full code after the jump.
Continue reading ‘Toggling item roll over highlighting on a ComboBox control in Flex’