PopupMenu.RemoveAllRows

From Xojo Documentation

Method

PopupMenu.RemoveAllRows()

New in 2019r2

Supported for all project types and targets.

Removes all rows in the list.

Example

The following example removes all the existing rows prior to adding new rows using AddAllRows.

Var names() As String
names.Add("Abbott")
names.Add("Costello")
names.Add("Frankenstein")

Me.RemoveAllRows
Me.AddAllRows(names)