[Overview][Constants][Types][Classes][Procedures and functions][Index] |
Implements the button handler for the Button in the control.
Source position: editbtn.pas line 484
protected procedure TDirectoryEdit.ButtonClick; override; |
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.
|
Button is the TSpeedButton that is attached to the grouped edit control. |
|
|
Edit is the TEbEdit control used to perform direct input for the value in the grouped edit control. |
|
|
Indicates if the focus is changed to the Edit control after the Button is clicked. |
|
|
Performs a button click for the associated control. |
|
|
Executes the dialog for the control and stores the return value. |
|
lazarus-ccr.sourceforge.net |