News by Peter deHaan

Disabling keyboard navigation on the List control in Flex

12 Jun 14:58
In a previous example, “Disabling keyboard navigation on the Accordion container in Flex”, we saw how to disabe keyboard navigation on the Flex Accordion container by overriding the keyDownHandler() method. The following example shows how you can disable keyboard navigation on the Flex List control by extending the List class and overriding the protected keyDownHandler() method. Full [...

Disabling keyboard navigation on the Accordion container in Flex

11 Jun 16:56
The following example shows how you can disable keyboard navigation on the Flex Accordion container by extending the Accordion class and overriding the protected keyDownHandler() method. Full code after the jump.

Setting a border color on the ComboBox control in Flex

10 Jun 16:47
The following example shows how you can set the border color on a Flex ComboBox control by setting the (drumroll) borderColor style. Full code after the jump.

Setting a custom stretch cursor on a DataGrid in Flex

9 Jun 16:54
The following example shows how you can set a custom stretch cursor for a Flex DataGrid with resizable columns by setting the stretchCursor style. Full code after the jump.

Using an embedded font with the TabBar control in Flex

8 Jun 16:47
The following example shows how you can use an embedded font with the Flex TabBar control by setting the fontFamily and fontWeight styles. Full code after the jump.

Changing the label text alignment in a FormItem container in Flex

6 Jun 18:21
The following example shows how you can set the text alignment on a Flex FormItem container’s label by setting the textAlign and labelStyleName styles. Full code after the jump.

Aligning headers in a DateChooser control in Flex

6 Jun 14:08
The following example shows how you can align the month name and year in a Flex DateChooser control by setting the textAlign and headerStyleName styles. Full code after the jump.

Using an embedded font with the Slider controls in Flex

5 Jun 16:39
The following example shows how you can use an embedded font with the Flex HSlider control by setting the fontFamily and labelStyleName styles. Full code after the jump.

Setting the tick length on a Slider control in Flex

5 Jun 15:57
In a previous example, “Setting the tick thickness on a Slider control in Flex”, we saw how to change the thickness of a tick on a Flex HSlider control by setting the tickThickness style. The following example shows how you can set the length of a tick on a Flex HSlider control by setting the tickLength [...

Changing the text alignment of a List control in Flex

4 Jun 16:43
The following example shows how you can change the text alignment in a Flex List control by setting the textAlign style. Full code after the jump.
Pages   ← previous   next