Tag Archives: requiresSelection

Checking that an item is selected in the Spark DropDownList control in Flex 4

The following example shows how you can check whether the user has selected an item in the Spark DropDownList control in Flex 4 by setting the Boolean requiresSelection property to true or using a NumberValidator to check the DropDownList control’s selectedIndex property is greater than -1.

Continue reading Checking that an item is selected in the Spark DropDownList control in Flex 4

Setting the selected item on the FxButtonBar control in Flex Gumbo

In a previous example, “Setting the selected index on the FxButtonBar control in Flex Gumbo”, we saw how you could set the selected index on a Flex Gumbo FxButtonBar control by setting the selectedIndex property.

The following example shows how you can set the selected item on a Flex Gumbo FxButtonBar control by setting the selectedItem property.

Full code after the jump.

Continue reading Setting the selected item on the FxButtonBar control in Flex Gumbo