DesktopMenuItem.Name

From Xojo Documentation

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

Property (As String )
aDesktopMenuItem.Name = newStringValue
or
StringValue = aDesktopMenuItem.Name

New in 2021r3

Supported for all project types and targets.

The name of the menu item. Set this property using the Menu Editor.

Example

This example sets the name of a menuitem.

EditMenu.MenuAt(2).Name = "Delete"