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