Hi all,
                In a form , I am using PopUpMenu button for selecting user
gender/sex. I am using PopUpmenu button instead of Radiobutton because
Intitally there should not be any sex selected , there will be just
"SELECT", so this not biased to any gender and i also want to force the user
to select one of them. But when i apply my Popup menu button Label ="Select"
i cant see the options & if if idon't set any label , i am able to select
options , but the aption is not really selected, the sex.selectedField is
empty. here is my code.

<mx:PopUpMenuButton x="229" y="68" id="sex"  visible="true" label="Select">
            <mx:dataProvider>
                <mx:String>MALE</mx:String>
                <mx:String>FEMALE</mx:String>
            </mx:dataProvider>
            </mx:PopUpMenuButton>
private var userSex:String = sex.selectedField;


-- 
There is no point in knocking the "closed Windows" when the door is "Open".
Open your eyes, use open source software.


Regards,
Yogesh

Reply via email to