PushButton.SetFocus

From Xojo Documentation

Method


PushButton.SetFocus()

Supported for all project types and targets.

Sets the focus to the PushButton (Windows and Linux).