次の方法で共有


Clear Method

Clears the contents of a ComboBox or ListBox control.

Object.Clear

Remarks

Applies To: ComboBox Control | ListBox Control

The Clear method removes all items from a ComboBox or ListBox control, but only if the RowSourceType property is set to 0 (None). Additionally, it sets the ListCount property to 0.

See Also

Reference

AddItem Method (Visual FoxPro)

RemoveItem Method

RowSourceType Property

Other Resources

Methods (Visual FoxPro)

Language Reference (Visual FoxPro)