From Xojo Documentation
|You are currently browsing the old Xojo documentation site. Please visit the new Xojo documentation site!|
Causes the button to be visually pressed, as well as triggering the Pressed event.
Call Press when the user has pressed the keyboard equivalent for the button to give the appropriate visual feedback.
This example presses Button1. It is called from another control.