Sign in Join
FPDoc Onlineexperiment

TCustomEditButton.CalcButtonVisible function

Member of TCustomEditButtonprotectedIn unit EditBtn

Determines whether the Button for the control should be visible.

Declaration

pascal
function CalcButtonVisible: Boolean; virtual

Function result

True if the control is visible and has focus, or is configured to always shows its editor button.

Description

CalcButtonVisible is a Boolean function used to determine whether the Button for the control should be visible. The return value is True when the control is Visible and the Edit has focus, or the control is not configured to display its button only when focused.

The return value is always True at design-time.

CalcButtonVisible is used in the implementation of the CheckButtonVisible method.

See also

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