Category Archives: FxButtonBar

Determining if an item index is selected in an FxButtonBar control in Flex Gumbo

In a previous example, “Determining if an item is selected in an FxButtonBar control in Flex Gumbo”, we saw how you could determine if a specific item is selected in a Flex Gumbo FxButtonBar control by using the isItemSelected() method.

The following example shows how you can determine if a specific item index is selected in a Flex Gumbo FxButtonBar control by using the isItemIndexSelected() method.

Full code after the jump.

Continue reading Determining if an item index is selected in an FxButtonBar control in Flex Gumbo

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