MenuItem.Remove

From Xojo Documentation

Revision as of 03:08, 19 June 2019 by Gperlman (talk | contribs)
Method

MenuItem.Remove(Index as Integer)

New in 5.0

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.Remove(3)


Method

MenuItem.Remove(Child as MenuItem)

New in 5.0

Supported for all project types and targets.

Removes the MenuItem specified by reference.