&<img src="../resources/images/opentocr.png" title="Open Contents list" border="0"&>
You are here:
2.9.5 Push Button
A push button is used to allow the user to perform an action. The code for the button is placed in its Click event.
A push button can have a bitmap or a text caption or both.
The following code updates fields in the PSLMST file when a button (#PHBN_1) is clicked:
EVTROUTINE HANDLING(#PHBN_1.Click)
update fields(#givename #surname) in_file(pslmst)
ENDROUTINE
&<img src="../resources/images/opentoc-dark.png" title="Open Contents List" border="0"&>