[Overview][Constants][Types][Classes][Procedures and functions][Index] | Reference for unit 'EditBtn' (#lcl)

# TCustomEditButton.BuddyClick

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

## Declaration

Source position: editbtn.pas line 91

`protected procedure TCustomEditButton.BuddyClick; override;`

## Description

BuddyClick calls the inherited method on entry to signal the OnBuddyClick event handler (when assigned), and to perform focus and selection changes. It calls the ButtonClick method to forward the click event to the Edit control.

BuddyClick is called from the private InternalOnBuddyClick method used as the OnClick handler for the Button in the grouped edit control.

## See also

TCustomEditButton.Button |  | TSpeedButton instance used on the edit control.
TCustomEditButton.ButtonClick |  | Performs actions needed when the button for the control is clicked.
TCustomAbstractGroupedEdit.BuddyClick |  | Performs actions needed when the Buddy control is clicked.
TCustomAbstractGroupedEdit.OnBuddyClick |  | Event handler signalled when the Buddy control is clicked.