From Xojo Documentation

Revision as of 18:10, 23 July 2021 by Gperlman (talk | contribs)
You are currently browsing the old Xojo documentation site. Please visit the new Xojo documentation site!

Property (As Boolean )
aDesktopUIControl.Enabled = newBooleanValue
BooleanValue = aDesktopUIControl.Enabled

New in 2021r3

Supported for all project types and targets.

Determines if the control should be enabled when the owning window is opened.


A disabled control cannot be clicked and cannot receive the focus.


This example disables the control. Its caption is grayed out.

Me.Enabled = False