DesktopWindow.SetFocus

From Xojo Documentation

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

DesktopWindow.SetFocus()

New in 2021r3

Supported for all project types and targets.

Sets the focus to the window, leaving no control with the focus.

Notes

Use the SetFocus method of the DesktopUIControl class to set the focus to a particular control in the window.