WebMenuItem.Enabled
From Xojo Documentation
Property (As Boolean )
aWebMenuItem.Enabled = newBooleanValue
or
BooleanValue = aWebMenuItem.Enabled
New in 2011r2
Supported for all project types and targets.
or
BooleanValue = aWebMenuItem.Enabled
New in 2011r2
Supported for all project types and targets.
If True, the menu item is enabled.
Example
Add a contextual menu to a Label with one of the menu items disabled. This code is in the Shown event handler of a WebLabel: