3 Replies Latest reply on Oct 7, 2009 1:49 PM by Flex harUI

    How do I make a ComboBox the active control on page render?


      I have a comboBox and a button on my page.  I was successful in making the button the default control. However, I need the comboBox to be the Active control, meaning, when the page is finished rendering, the cursor is sitting inside the text input area of teh ComboBox, so I can just start typing.  I don't want to have to click in the text input part, then start typing?


      Note:  I tried .setFocus(), which does "focus" the control, but the cursor is not flashing inside the comboBox, I still have to click inside the text input area for the text input area to "come alive" and allow me to start typing in it.


      Note: The comboBox is parented by a panel.