PushButton.Action

From Xojo Documentation

Event


PushButton.Action()

Supported on Desktop.

The button has been clicked. A right- or middle-click does not trigger the Action event.

Sample Code

This code in the Action event handler displays a message when the button is clicked:

MessageBox("You clicked the button.")