User Guide

157
8
CHAPTER 8
ComboBox component
A combo box allows a user to make a single selection from a pop-up list. A combo box can be
static or editable. An editable combo box allows a user to enter text directly into a text field at
the top of the list, as well as selecting an item from a pop-up list. If the pop-up list hits the
bottom of the document, it opens up instead of down. The combo box is composed of three
subcomponents: a Button component, a TextInput component, and a List component.
When a selection is made in the list, the label of the selection is copied to the text field at the
top of the combo box. It doesnt matter if the selection is made with the mouse or the
keyboard.
A ComboBox component receives focus if you click the text box or the button. When a
ComboBox component has focus and is editable, all keystrokes go to the text box and are
handled according to the rules of the TextInput component (see “TextInput component”
on page 1209), with the exception of the following keys:
When a ComboBox component has focus and is static, alphanumeric keystrokes move the
selection up and down the drop-down list to the next item with the same first character. You
can also use the following keys to control a static combo box:
Key Description
Control+Down
Arrow
Opens the drop-down list and gives it focus.
Shift+Tab Moves focus to the previous object.
Tab Moves focus to the next object.
Key Description
Control+Down
Arrow
Opens the drop-down list and gives it focus.
Control+Up
Arrow
Closes the drop-down list, if open in the stand-alone and browser versions of
Flash Player.
Down Arrow Moves the selection down one item.