ListBox.DeleteAllRows

From Xojo Documentation

Method

ListBox.DeleteAllRows()

Supported for all project types and targets.

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

Example

This example deletes all the rows in ListBox1.

Listbox1.DeleteAllRows