Sign in Join
FPDoc Onlineexperiment

TDirectoryEdit.ButtonClick procedure

Member of TDirectoryEditprotectedIn unit EditBtn

Implements the button handler for the Button in the control.

Declaration

pascal
procedure ButtonClick; override

Description

ButtonClick is an overridden method used to implement the button click handler for the Button in the control. ButtonClick calls the inherited method, and calls RunDialog to display the dialog and capture the directory name. When the dialog has completed, and FocusOnButtonClick is set to True, the FocusAndMaybeSelectAll method is called to give focus to the Edit control and select text as needed.

ButtonClick is called from the BuddyClick method in the ancestor class.

See also

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