MenuItem.Text

From Xojo Documentation

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

Supported for all project types and targets.

The text of the menu item.

Example

This example is in the Open event of the main window.

EditFind.Text = "Find..."