From Xojo Documentation

You are currently browsing the old Xojo documentation site. Please visit the new Xojo documentation site!

Property (As Boolean )
aDesktopUIControl.AllowTabStop = newBooleanValue
BooleanValue = aDesktopUIControl.AllowTabStop

New in 2021r3

Supported for all project types and targets.

If True, the control 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 control can gain the focus by other means, such as the user's clicking on it or by setting the focus in code.


This example removes the control from the Tab Order:

Me.AllowTabStop = False