F > FComboBox.setEditable |
![]() ![]() ![]() |
FComboBox.setEditable
Availability
Flash Player 6.
Usage
myComboBox
.setEditable(
editable
)
Parameters
editable
A Boolean value specifying whether the combo box is editable (true
) or static (false
).
Returns
Nothing.
Description
Method; determines whether the combo box is editable (true
) or static (false
). An editable combo box has a text field; when the user enters text, the combo box scrolls to the item with the same text. The text field can also be used to display text using FComboBox.setValue
. Calling this method overrides the Editable parameter value set during authoring.
Example
The following code enables an input text field at the top of menuMain
.
menuMain.setEditable(true
);
See also
![]() ![]() ![]() |