MenuItem.RemoveMenuAt

From Xojo Documentation

Method

MenuItem.RemoveMenuAt(Index as Integer)

New in 2019r2

Supported for all project types and targets.

Removes the MenuItem specified by its position (index).

Example

This example removes the Select All menu item from the Edit menu.

EditMenu.RemoveMenuAt(3)