ContainerControl.AutoDeactivate
From Xojo Documentation
Property (As Boolean )
aContainerControl.AutoDeactivate = newBooleanValue
or
BooleanValue = aContainerControl.AutoDeactivate
Supported for all project types and targets.
or
BooleanValue = aContainerControl.AutoDeactivate
Supported for all project types and targets.
Determines whether the control should be deactivated (on macOS) when the parent window is deactivated.
The default is True.
Example
This example turns AutoDeactivate off.
ContainerControl11.AutoDeactivate = False