DesktopUIControl.Enabled

From Xojo Documentation

Revision as of 14:54, 17 February 2022 by Gperlman (talk | contribs) (Example)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
You are currently browsing the old Xojo documentation site. Please visit the new Xojo documentation site!

Property (As Boolean )
aDesktopUIControl.Enabled = newBooleanValue
or
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.

Notes

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

Example

This example disables the control.

Me.Enabled = False