9 Replies Latest reply on Apr 20, 2010 10:24 AM by Flex harUI

    How to set the focus on ComboBox via actionsript?

    megharajdeepak Level 1

      Hi there,


      I wanted to set the focus(outlining the border) on a TextInput(id:myTextInput) and ComboBox(id:myComboBox)  in actionscript. I tried myTextInput.setFocus(); which works just fine for TextInput component. In case of ComboBox, myComboBox.setFocus(); works if and only if the ComboBox's editable property is set to true. It doesn't work if it is non editable ComboBox. I wanted to set focus on a non editable combo box......Pls help... How can I achieve this?