Xbasic
OBJECT.PUSH Function
Syntax
.Push()
Description
Triggers a button's onPush event.
The <OBJECT>.PUSH() method applies to:
- Form Controls (for <OBJECT> use the <CONTROL> pointer or the address of the control)
The <OBJECT>.PUSH() method triggers the button's OnPush event.
Example
The following script executes the script under button1 when its value is "Adams".
if dropkeyl1.value = "Adams" then button1.push() end if
Limitations
Desktop applications only.
See Also