F > FComboBox.removeAll

 

FComboBox.removeAll

Availability

Flash Player 6.

Usage

myComboBox.removeAll()

Parameters

None.

Returns

Nothing.

Description

Method; removes all the items in the combo box list, updates it, and resizes the scroll bar. Combo boxes without items are displayed without a scroll bar. This method cannot be used if the combo box is disabled.

Example

The following code removes all the items from menuMain.

menuMain.removeAll();

See also

FComboBox.removeItemAt