You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@flex.apache.org by "Mark Kessler (JIRA)" <ji...@apache.org> on 2013/04/22 04:17:15 UTC

[jira] [Commented] (FLEX-23303) getting the selectedIndex from a RadioButtonGroup

    [ https://issues.apache.org/jira/browse/FLEX-23303?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13637728#comment-13637728 ] 

Mark Kessler commented on FLEX-23303:
-------------------------------------

Test app showing it working...

<?xml version="1.0" encoding="utf-8"?>
<!---
   Test application
-->
<s:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
               xmlns:s="library://ns.adobe.com/flex/spark"> 

    <s:layout>
        <s:VerticalLayout horizontalAlign="center" verticalAlign="middle" gap="0" />
    </s:layout>

    <fx:Declarations>
        <s:RadioButtonGroup id="radioBtnGroup" />
    </fx:Declarations>

    <s:VGroup horizontalCenter="0" verticalCenter="0">
        <s:RadioButton id="radioBtn1" label="Red" group="{radioBtnGroup}" />
        <s:RadioButton id="radioBtn2" label="Orange" group="{radioBtnGroup}" />
        <s:RadioButton id="radioBtn3" label="Yellow" group="{radioBtnGroup}" />
        <s:RadioButton id="radioBtn4" label="Green" group="{radioBtnGroup}" />
        <s:RadioButton id="radioBtn5" label="Blue" group="{radioBtnGroup}" />
    </s:VGroup>

    <s:Rect height="20" />

    <s:Label text="selectedIndex={radioBtnGroup.selectedIndex} and selectedValue={radioBtnGroup.selectedValue}" />
    
</s:Application>

                
> getting the selectedIndex from a RadioButtonGroup
> -------------------------------------------------
>
>                 Key: FLEX-23303
>                 URL: https://issues.apache.org/jira/browse/FLEX-23303
>             Project: Apache Flex
>          Issue Type: New Feature
>          Components: Spark: RadioButton
>    Affects Versions: Adobe Flex SDK Previous
>         Environment: Language Found: English
>            Reporter: Adobe JIRA
>            Assignee: Mark Kessler
>


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira