DesktopContainer.Enabled

From Xojo Documentation

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

New in 2021r3

Supported for all project types and targets.

Determines if the DesktopContainer should be enabled when the owning window is opened. The default is True.

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

Example

The following example disables the DesktopContainer.

MyDesktopContainer.Enabled=False