News by Peter deHaan

Toggling year navigation on a DateChooser control in Flex

24 Jul 17:24
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.

Setting a custom format string on a DateField control in Flex

24 Jul 16:13
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.

Toggling a drop shadow on the List control in Flex

23 Jul 16:09
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.

Setting the label color on a disabled List control in Flex

22 Jul 16:54
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 [...

Setting the text indent on a List control in Flex

21 Jul 16:54
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.

Setting the label color on a disabled ComboBox control in Flex

20 Jul 16:57
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.

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

19 Jul 16:37
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.

Changing the background color of a disabled List control in Flex

18 Jul 16:50
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.

Disabling keyboard navigation on the ComboBox control in Flex

16 Jul 17:47
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.

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

16 Jul 16:58
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.
Pages   ← previous   next