Clear Method (AComboBox)

Clears the contents of the object by removing all items.

Syntax

Object.Clear()

The Clear method syntax has the following parts:

 

Name

Type

Description

Object

A ComboBox

A ComboBox control

Example

The following example will Clear an AComboBox control of all its contents:

cb1.Clear()

Applies to

AComboBox

See Also

FindItem