Unit 'EditBtn' Package
[Overview][Constants][Types][Classes][Procedures and functions][Index] [#lcl]

TCustomEditButton.CheckButtonVisible

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

Declaration

Source position: editbtn.pas line 96

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

  

Button is the TSpeedButton that is attached to the grouped edit control.

TCustomEditButton.Edit

  

Edit is the TEbEdit control used to perform direct input for the value in the grouped edit control.

TCustomEditButton.CalcButtonVisible

  

Indicates whether the Button for the control should be visible.

TCustomAbstractGroupedEdit.UpdateSpacing