F > FComboBox.setEnabled |  |

FComboBox.setEnabled

FComboBox, FComboBox.setEnabled, setEnabled

Availability

Flash Player 6.

Usage

    myComboBox.setEnabled(enable)

Parameters

`enable` A Boolean value specifying whether the combo box is enabled (`true`) or disabled (`false`).

Returns

Nothing.

Description

Method; determines whether the combo box is enabled (`true`) or disabled (`false`). If the combo box is disabled, it does not accept mouse or keyboard interaction from the user. If you omit the parameter, this method defaults to `true`.

Example

The following code disables `menuMain`.

    menuMain.setEnabled(false);

See also

`FListBox.getEnabled`