DesktopContainer.TabIndex

From Xojo Documentation

Revision as of 19:11, 23 July 2021 by Gperlman (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
You are currently browsing the old Xojo documentation site. Please visit the new Xojo documentation site!

Property (As Integer )
aDesktopContainer.TabIndex = newIntegerValue
or
IntegerValue = aDesktopContainer.TabIndex

New in 2021r3

Supported for all project types and targets.

The DesktopContainer's position in the Tab Order.

Notes

On macOS, only controls controls where you enter data from the keyboard typically get the focus. In order to manually set focus to controls that don't allow keyboard entry, go to System Preferences, click on the Keyboard icon then on the Shortcuts tab and then check the Use keyboard navigation to move focus between controls checkbox.

Sample Code

This example sets the Container's TabIndex.

Me.TabIndex = 2