Archive for September 25th, 2007

25
Sep

Creating a custom ComboBox item renderer in Flex

The following example shows how you can create a simple ComboBox item renderer which displays multiline items in the ComboBox control’s drop down menu.

Full code after the jump.

Continue reading ‘Creating a custom ComboBox item renderer in Flex’

25
Sep

Creating a simple label function on a Flex ComboBox control

The following example shows how you can format the label in a ComboBox using a custom label function.

Full code after the jump.

Continue reading ‘Creating a simple label function on a Flex ComboBox control’

25
Sep

Specifying a custom label field on a Flex ComboBox control

The following example shows how you can specify a custom label field for a ComboBox control by using the ComboBox class’s labelField property.

The labelField property controls which field in the data provider will be used as the ComboBox item’s label. By default, the labelField property is “label”, although if you are using an XML data provider, you may want to change the labelField property to “@label”, or some other value.

Full code after the jump.

Continue reading ‘Specifying a custom label field on a Flex ComboBox control’

25
Sep

Using the TabNavigator control’s tabOffset style in Flex 3

The following example shows how you can control the horizontal offset of the tabs in a TabNavigator control by setting the tabOffset style.

Full code after the jump.

Continue reading ‘Using the TabNavigator control’s tabOffset style in Flex 3′