From Xojo Documentation

Property (As Color )
aWebMenuItem.TextColor = newColorValue
ColorValue = aWebMenuItem.TextColor

New in 2020r1

Supported for all project types and targets.

Gets or sets the color of the text of the WebMenuItem. The default value is black.

Sample Code

The following example sets the TextColor.

Me.TextColor = Color.Blue

See Also

UserGuide:Dark Mode