DesktopContainer.AllowFocus
From Xojo Documentation
Property (As Boolean )
aDesktopContainer.AllowFocus = newBooleanValue
or
BooleanValue = aDesktopContainer.AllowFocus
New in 2021r3
Supported for all project types and targets.
or
BooleanValue = aDesktopContainer.AllowFocus
New in 2021r3
Supported for all project types and targets.
If True, the container will be included in the Tab order and can accept the focus.
Sample Code
This code enables the AllowFocus property. It is in the Opening event of the container.