Archive for December 19th, 2007

19
Dec

Customizing the current date in the Flex DateField control

In an earlier example, “Changing the current date’s background color in the Flex DateField control”, we saw how you can customize the background color of the current date, assuming that the showToday property is true. In the following example, we see how you can change the font color, style, and weight of the current date by setting the todayStyleName style in the Flex DateField control’s nested DateChooser control.

Full code after the jump.

Continue reading ‘Customizing the current date in the Flex DateField control’

19
Dec

Alternating item colors in ComboBox dropdown

The following example shows how you can set alternating item/row colors in a ComboBox control’s dropdown menu by setting the alternatingItemColors style using MXML, ActionScript or CSS

Full code after the jump.

Continue reading ‘Alternating item colors in ComboBox dropdown’