MenuItem.Name

From Xojo Documentation

Revision as of 15:09, 21 July 2017 by PLefebvre (talk | contribs) (Example)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
You are currently browsing the old Xojo documentation site. Please visit the new Xojo documentation site!

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

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.Item(2).Name = "Delete"