Page History
The following code, in the CREATE event of the window, will capture the "right mouse button down" event, both at the window level, and for a button called BUTTON_1. Equates Equates are provided for capturing other events (right mouse button up, right mouse button double click, as examples).
...