PushButton.SetFocus
From Xojo Documentation
Method
This method is only available on Windows and Linux platforms. For cross-platform compatibility, use #If...#Endif with the Target... specifiers to make sure you will not attempt to use this method on an incompatible platform. |
Sets the focus to the PushButton (Windows and Linux).