8 Replies Latest reply on Jan 4, 2011 12:48 AM by arifhan

    How to make non-editable ComboBox in flex.

    karnatis Level 1

      Hi All,

       

         I defined ComboBox as below and I'd like to make this combobox to non-editable(readonly)

       

        <mx:ArrayCollection id="bb_list">
              <mx:Object data="" label="-Please Select-"/>
              <mx:Object data="Y" label="Yes"/>
              <mx:Object data="N" label="No"/>
              <mx:Object data="D" label="I Don't Know"/>
          </mx:ArrayCollection>

       

        <mx:ComboBox  width="152" id="broad" dataProvider="{bb_list}" change="bb_service()" editable="false" > </mx:ComboBox>

       

      Still it is displaying ComboBox where user can change value from this ComboBox, can anyone let me know how to make this ComboBox to non-editable.

       

        Thanks in advance.

       

      Regards,

      Sharath.