Window.FocusNext

From Xojo Documentation

Method

Window.FocusNext()

Supported for all project types and targets.

Changes the focus to the next control in the Tab Order.