Window.FocusPrevious

From Xojo Documentation

Method

Window.FocusPrevious()

Supported for all project types and targets.

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