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

TCustomEditButton.CalcButtonVisible

Determines whether the Button for the control should be visible.

Declaration

Source position: editbtn.pas line 95

protected function TCustomEditButton.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.

Remark: The return value is always True at design-time.

CalcButtonVisible is used in the implementation of the CheckButtonVisible method.

See also

TCustomEditButton.Button

  

TSpeedButton instance used on the edit control.

TCustomEditButton.ButtonOnlyWhenFocused

  

ButtonOnlyWhenFocused - if True, the SpeedButton only appears when focus is given to the EditButton control.

TCustomEditButton.Edit

  

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

TControl.Visible

  

Allows the control, and all of its children, to be displayed or hidden.


Version 4.0 Generated 2025-05-03 Home