MenuItem.RemoveMenuAt

From Xojo Documentation

You are currently browsing the old Xojo documentation site. Please visit the new Xojo documentation site!
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)