Sign in Join
FPDoc Onlineexperiment

TCalcEdit.ButtonClick procedure

Member of TCalcEditprotectedIn unit EditBtn

Performs actions needed when the button for the control is clicked.

Declaration

pascal
procedure ButtonClick; override

Description

ButtonClick is an overridden method used to perform actions needed when the Button for the control is clicked. For TCalcEdit, the RunDialog method is called to execute the dialog for the control and to capture it results. When FocusOnButtonClick is set, the FocusAndMaybeSelectAll method is called to give focus to the Edit control in the class.

See also

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.