PopupMenu.RemoveRow

From Xojo Documentation

Method

PopupMenu.RemoveRow(Index as Integer)

Supported for all project types and targets.

Deletes the specified row. The first row is numbered zero.

Example

The following example deletes the third item prior to adding three more. Prior to this code, there were five items.

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

Me.AddRows(names)
Me.RemoveRow(2)