PopupMenu.DeleteAllRows

From Xojo Documentation

Method

PopupMenu.DeleteAllRows()

Supported for all project types and targets.

Deletes all rows in the list.

Example

The following example deletes all the existing rows prior to adding new rows using AddRows.

Dim names(2) As String
names(0) = "Abbott"
names(1) = "Costello"
names(2) = "Frankenstein"

Me.DeleteAllRows
Me.AddRows(names)