RectControl.AllowTabStop
From Xojo Documentation
Property (As Boolean )
aRectControl.AllowTabStop = newBooleanValue
or
BooleanValue = aRectControl.AllowTabStop
New in 2019r2
Supported for all project types and targets.
or
BooleanValue = aRectControl.AllowTabStop
New in 2019r2
Supported for all project types and targets.
If True, the RectControl is in the Tab Order and accepts the focus when the user tabs into it. The default is True. If False, the user cannot tab into it to give it the focus. However, the RectControl can gain the focus by other means, such as the user's clicking on it or by setting the focus in code.
Example
This example removes the control from the Tab Order: