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

# TCustomControlFilterEdit.ResetFilter

Clears the Filter text to show all items in the control.

## Declaration

Source position: editbtn.pas line 275

`public procedure TCustomControlFilterEdit.ResetFilter;`

## Description

ResetFilter clears the existing value in the Filter property by setting it to an empty string (''). This results in the Text for control being set to the same value, and the InvalidateFilter is called when the filter is internally applied to the control.

ResetFilter is called from the BuddyClick method - the OnClick handler routine executed when the associated Button for the control is clicked.

## See also

TCustomControlFilterEdit.Filter |  | Contains the textual used to select the visible items in the associated control.
TCustomControlFilterEdit.Text |  | String with the text or caption for the control.
TCustomControlFilterEdit.BuddyClick |  | Performs actions when the Button for the control is clicked.
TCustomControlFilterEdit.InternalSetFilter |  | Performs actions needed when a new value is assigned to the Filter property.
TCustomEditButton.Button |  | TSpeedButton instance used on the edit control.