PushButton.Push

From Xojo Documentation

Method

PushButton.Push()

Supported for all project types and targets.

Causes the button to be visually pushed (clicked), as well as triggering the Action event.

Notes

Call Push when the user has pressed the keyboard equivalent for the button to give the appropriate visual feedback.

Example

This example clicks PushButton1. It is called from another control.

PushButton1.Push