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

# TCustomControlFilterEdit.BuddyClick

Performs actions when the Button for the control is clicked.

## Declaration

Source position: editbtn.pas line 259

`protected procedure TCustomControlFilterEdit.BuddyClick; override;`

## Description

BuddyClick is an overridden method used to perform actions needed when the Button for the control is clicked. It clears values in the Text and Filter properties, and gives focus to the Edit when FocusOnButtonClick is set to True. It calls the inherited method prior to exit.

## See also

TCustomControlFilterEdit.Filter |  | Contains the textual used to select the visible items in the associated control.
TCustomControlFilterEdit.FocusOnButtonClick |  | Indicates if the focus is changed to the Edit control after the Button is clicked.
TCustomEditButton.Edit |  | Edit is the TEbEdit control used to perform direct input for the value in the grouped edit control.
TControl.Text |  | String with the text or caption for the control.