From Xojo Documentation

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

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

New in 2021r3

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 FocusLost Event and selects the next object in the window that can accept the focus.

Sample Code

The following turns on AllowTabs.

Me.AllowTabs = True