From Xojo Documentation

Property (As Boolean )
aCanvas.AllowTabs = newBooleanValue
BooleanValue = aCanvas.AllowTabs

New in 2019r2

Supported for all project types and targets.

If True and AllowFocus is True, then pressing Tab triggers the KeyDown event for processing. The default is False.


If False, pressing the Tab key does not trigger the KeyDown event; pressing Tab triggers the LostFocus Event and selects the next object in the window that can accept the focus.

Sample Code

The following turns on AllowTabs.

Me.AllowTabs = True