Posts tagged as:

selectedIndex

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 }

The following example shows how you can set the selected index on a Spark ButtonBar control in Flex 4 by setting the selectedIndex property.

Full code after the jump.

[click to continue…]

{ 3 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 }

The following example shows how you can set a prompt on a Flex ComboBox control by setting the prompt property.

Full code after the jump.

[click to continue…]

{ 13 comments }

The following examples show how you can prevent a user from clicking a Flex Accordion container’s header by creating a custom Accordion header renderer.

Full code after the jump.

[click to continue…]

{ 0 comments }

The following example shows you how you can set the selected index of a LinkBar control in Flex by setting the selectedIndex property using MXML or ActionScript.

Full code after the jump.

[click to continue…]

{ 8 comments }

The following example shows how you can use a timer to change the selected index in a Flex ViewStack container.

Full code after the jump.

[click to continue…]

{ 0 comments }

The following example shows how you can change the currently selected child in an Accordion container using ActionScript by setting the accordion’s selectedIndex property.

Full code after the jump.

[click to continue…]

{ 0 comments }

Adding icons to a Flex Accordion control

by Peter deHaan August 27, 2007

The following example demonstrates how you can add embedded icons to a Flex Accordion container.
Full code after the jump.

Read the full article →