The following example shows how you can detect when the number of RadioButton objects changes in a RadioButtonGroup in Flex by listening for the numRadioButtonsChanged event.
Full code after the jump.
{ 0 comments }
Just a bunch of Adobe Flex Examples
From the category archives:
by Peter deHaan on November 10, 2008
The following example shows how you can detect when the number of RadioButton objects changes in a RadioButtonGroup in Flex by listening for the numRadioButtonsChanged event.
Full code after the jump.
Tagged as: numRadioButtonsChanged
{ 0 comments }
by Peter deHaan on August 18, 2008
in RadioButton
The following example shows how you can set the button label placement on a Flex RadioButton control by setting the labelPlacement property in MXML or ActionScript.
Full code after the jump.
Tagged as: labelPlacement
{ 0 comments }
by Peter deHaan on June 25, 2008
In a previous example, “Enabling and disabling RadioButton controls in a RadioButtonGroup in Flex”, we saw how you can enable or disable all of the RadioButton controls in a Flex RadioButtonGroup by setting the enabled property.
The following example shows how you can detect when the enabled property changes by using the enabledChanged event.
Full code after the jump.
Tagged as: enabled, enabledChanged
{ 0 comments }
by Peter deHaan on June 23, 2008
The following example shows how you can disable keyboard navigation within a Flex RadioButton/RadioButtonGroup by extending the RadioButton class and overriding the protected keyDownHandler() method.
Full code after the jump.
Tagged as: keyDownHandler()
{ 0 comments }
by Peter deHaan on June 21, 2008
The following example shows how you can detect when a RadioButton has been clicked in a FlexRadioButtonGroup by listening for the itemClick event.
Full code after the jump.
Tagged as: itemClick
{ 0 comments }
by Peter deHaan on June 20, 2008
The following example shows how you can loop over the RadioButton controls in a Flex RadioButtonGroup by using the numRadioButtons property and getRadioButtonAt() method.
Full code after the jump.
Tagged as: getRadioButtonAt(), numRadioButtons
{ 0 comments }
by Peter deHaan on June 19, 2008
The following example shows how you can set the visibility of all of the RadioButton controls in a Flex RadioButtonGroup by setting the enabled property.
Full code after the jump.
Tagged as: enabled
{ 0 comments }
by Peter deHaan on June 19, 2008
The following example shows how you can set the label placement on a series of RadioButton controls in a Flex RadioButtonGroup by setting the labelPlacement property.
Full code after the jump.
Tagged as: labelPlacement
{ 0 comments }
Get smart with the Thesis WordPress Theme from DIYthemes.