MenuItem.Close

From Xojo Documentation

Method

MenuItem.Close()

Supported for all project types and targets.

Removes dynamically created menu items.

Example

This example closes a menu item that was previously created.

EditSelectAll.Close