Mobile App Development Software
Alpha TransForm - Free Trial
|
Alpha Anywhere - Build Apps for Free
Alpha Software
Documentation
  • Reference
  • Desktop API
  • Layout
  • Form
  • FORM.BUTTON.PUSH Method
Parent | Child | Previous | Next
  • Form Control Methods
  • Form Functions and Methods
  • FORM.ACTIVEPREVDRILLDOWN Method
  • FORM.BROWSE_VIEW Method
  • FORM.BUTTON.PUSH Method
  • FORM.CLOSE Method
  • FORM.CREATE Method
  • FORM.DIALOG Method
  • FORM.FIND_BY_FORM Method
  • FORM.FIND_CLEAR Method
  • FORM.FIND_EXIT Method
  • FORM.FIND_NEXT Method
  • FORM.FIND_PREV Method
  • FORM.FIND_RUN Method
  • FORM.GET_HEIGHT Method
  • FORM.GET_ROW_POSITIONS Method
  • FORM.GET_WIDTH Method
  • FORM.LAST_PRESSED Method
  • FORM.LOAD Method
  • FORM.MENUCHANGE Method
  • FORM.PREVIEW Method
  • FORM.QUERY_BY_FORM Method
  • FORM.QUERY_CLEAR Method
  • FORM.QUERY_EXIT Method
  • FORM.QUERY_MODE Method
  • FORM.QUERY_RUN Method
  • FORM.RECNO_GOTO Method
  • Form.SaveAs Method
  • FORM.SWAP Method
  • FORM.TAB_OBJECT.TAB_GET Method
  • FORM.TAB_OBJECT.TAB_SET Method
  • FORM.VIEW Method
  • Form.ViewLinked Method
  • FORM.VIEWQUERIED Method
  • FORM.WINDOW_POSITION Method
  • FORM.ZOOM_TO_RECORD Method
  • FORM.ZORDER Method
  • Using the FORM.VIEW__ method
 
Xbasic

FORM.BUTTON.PUSH Function

Syntax

. Button_Name.PUSH()

Description

The .PUSH() method activates a button and runs the button's OnPush event.

Example

A form has two buttons, B1 and B2. This script is attached to B2. When B2 is pushed, it causes the script attached to B1 to execute, just as if the user had clicked the B1 button.

parentform:b1.push()

Limitations

Desktop applications only.

See Also

  • Form Functions and Methods
  • Form Control Methods
Report an issue with this page
Mobile App Development Software

Alpha TransForm - Quickly Build Enterprise Mobile Forms
- Try it for Free

Alpha Anywhere - Low Code Platform for Mobile Developers
- Build Apps for Free
Alpha Software Corporation

781.229.4500
© Copyright 2000-2020 Alpha Software Corporation. All Rights Reserved

Privacy Policy