Sign in Join
FPDoc Onlineexperiment

TFileNameEdit.ButtonClick procedure

Member of TFileNameEditprotectedIn 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 TFileNameEdit, 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.