Sign in Join
FPDoc Onlineexperiment

TCustomEditButton.CheckButtonVisible procedure

Member of TCustomEditButtonprotectedIn unit EditBtn

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

Declaration

pascal
procedure 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

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.