WebControl.Enabled

From Xojo Documentation

Property (As Boolean )
aWebControl.Enabled = newBooleanValue
or
BooleanValue = aWebControl.Enabled

New in 2010r4

Supported for all project types and targets.

When True the WebControl is drawn enabled and responds to user action. When False, the control appears as disabled and does not respond to user actions.

Example

Disable a button when a check box value changes:

If AllowSaveCheckBox.Value Then
SaveButton.Enabled = True
Else
AllowSaveButton.Enabled = False
End If