WebMenuItem.RemoveMenuItemAt
From Xojo Documentation
Method
WebMenuItem.RemoveMenuItemAt(index As Integer)
New in 2020r1
Supported for all project types and targets.
New in 2020r1
Supported for all project types and targets.
Removes the menu item at the index passed.