Press Button
Use this system function to "click" a button in the current application programmatically.
Parameter
- Control
-
Input, required. The button to "click." Set the parameter to an applicable object from the object list.
Additional Notes
This is applicable for enabled (but not necessarily visible) form controls and HCs. The event, Button Clicked, fires for the control that is pushed. Note that this system function moves the focus to the control that was activated.