Posts tagged as:

requiresSelection

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.

[click to continue…]

{ 1 comment }

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.

[click to continue…]

{ 0 comments }

The following example shows how you can make sure that the Flex Gumbo FxButtonBar control has an item selected by setting the Boolean requiresSelection property.

Full code after the jump.

[click to continue…]

{ 0 comments }