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

# TCustomEditButton.CheckButtonVisible

Ensures the Button for the control is configured and its visibility is set.

## Declaration

Source position: editbtn.pas line 101

`protected procedure TCustomEditButton.CheckButtonVisible;`

## Description

CheckButtonVisible is a procedure which ensures that the Button in the control is configured and its visibility is set. If Button has not been assigned (contains Nil), no actions are performed in the method.

Otherwise, the Visible property in Button is set to the value returned by CalcButtonVisible. UpdateSpacing is called to adjust the space between Edit and Button as needed for its visibility and Layout.

## See also

TCustomEditButton.Button |  | TSpeedButton instance used on the edit control.
TCustomEditButton.Edit |  | Edit is the TEbEdit control used to perform direct input for the value in the grouped edit control.
TCustomEditButton.CalcButtonVisible |  | Determines whether the Button for the control should be visible.
TCustomAbstractGroupedEdit.UpdateSpacing