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 item selection duration on a Flex List control by setting the selectionDuration style.
Full code after the jump.
Continue reading ‘Setting the item selection duration on a List control in Flex’
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.
Continue reading ‘Setting an effect when the items in a data provider change on a List control in Flex’
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.
Continue reading ‘Setting the label color of a selected item on a List control in Flex’
The following example shows how you can set the border thickness on a Flex DateChooser control by setting the borderThickness style.
Full code after the jump.
Continue reading ‘Setting the border thickness on a DateChooser control in Flex’
The following example shows how you can set a custom border color on a Flex DateChooser control by setting the borderColor style.
Full code after the jump.
Continue reading ‘Setting a custom border color on a DateChooser control in Flex’
The following example shows how you can set the roll over color on a Flex DateChooser control by setting the rollOverColor style.
Full code after the jump.
Continue reading ‘Setting the roll over color on a DateChooser control in Flex’
The following example shows how you can toggle year-based navigation on a Flex DateChooser control by setting the yearNavigationEnabled property in MXML and ActionScript.
Full code after the jump.
Continue reading ‘Toggling year navigation on a DateChooser control in Flex’
The following example shows how you can set a custom format string on a Flex DateField control by setting the formatString property using MXML and ActionScript.
Full code after the jump.
Continue reading ‘Setting a custom format string on a DateField control in Flex’
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.
Continue reading ‘Toggling a drop shadow on the 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’
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.
Continue reading ‘Setting the text indent on a List 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 customize the background color of a disabled Flex List control by setting the backgroundDisabledColor style.
Full code after the jump.
Continue reading ‘Changing the background color of a disabled List control in Flex’