ListBox.RemoveAllRows

From Xojo Documentation

Method

ListBox.RemoveAllRows()

New in 2019r2

Supported for all project types and targets.

Removes all rows in the ListBox, including any initial values that were specified in the IDE.

Example

This example removes all the rows in ListBox1.

Listbox1.RemoveAllRows