WebMenuItem.Value

From Xojo Documentation

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

New in 2020r1

Supported for all project types and targets.

The text displayed.

Sample Code

Set the text of the menu item to "Hobbiton":

myMenu.Value = "Hobbiton"