DesktopMenuItem.Value

From Xojo Documentation

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

New in 2021r3

Supported for all project types and targets.

The value (text) of the menu item.

Example

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

EditFind.Value = "Find..."