From the category archives:

FxButtonBar

The following example shows how you can remove the default corner radius on the Flex Gumbo FxButtonBar control by creating a custom skin and setting the skinClass style.

Full code after the jump.

[click to continue…]

{ 0 comments }

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.

[click to continue…]

{ 0 comments }

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

Full code after the jump.

[click to continue…]

{ 2 comments }

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 create a vertical Spark ButtonBar control in Flex 4 by setting the layout property to a VerticalLayout object and setting the gap property to -1.

Full code after the jump.

[click to continue…]

{ 0 comments }

The following example shows how you can determine when the selected item changes on the Flex Gumbo FxButtonBar control by listening for the selectionChanging or selectionChanged events.

Full code after the jump.

[click to continue…]

{ 1 comment }

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 }

The following example shows how you can use the Flex Gumbo FxButtonBar by setting the dataProvider property to an ArrayCollection object.

Full code after the jump.

[click to continue…]

{ 0 comments }