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