DesktopMenuItem.RemoveMenuAt

From Xojo Documentation

You are currently browsing the old Xojo documentation site. Please visit the new Xojo documentation site!
Method

DesktopMenuItem.RemoveMenuAt(Index as Integer)

New in 2021r3

Supported for all project types and targets.

Removes the DesktopMenuItem specified by its position (index).

Example

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

EditMenu.RemoveMenuAt(3)