Mobile App Development Software
Alpha TransForm - Free Trial
|
Alpha Anywhere - Build Apps for Free
Alpha Software
Documentation
  • Reference
  • Desktop API
  • Layout
  • Form
  • FORM.LAST_PRESSED 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.LAST_PRESSED Function

Syntax

.Last_Pressed()
Using the FORM.VIEW method for details."/>

Description

The .LAST_PRESSED() method returns the name of the last button pressed when a form is opened as a dialog. See Using the FORM.VIEW method for details.

Example

:form.view("Which_Report","Dialog")
last_button = :which_report.last_pressed()
:which_report.close()

Limitations

Desktop applications only.

See Also

  • Form Functions and 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