TDirectoryEdit.ButtonClick procedure
Implements the button handler for the Button in the control.
Declaration
procedure ButtonClick; overrideDescription
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
- Button
- Edit
- FocusOnButtonClick
- BuddyClick
- RunDialog
- FocusAndMaybeSelectAll
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
