MobileUIControl.Enabled

From Xojo Documentation

You are currently browsing the old Xojo documentation site. Please visit the new Xojo documentation site!

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

New in 2020r2

Supported on Mobile.

Indicates whether the control is enabled or disabled.

Sample Code

Disable the button:

Button1.Enabled = False