Sign in Join
FPDoc Onlineexperiment

TCustomSpeedButton.ShowCaption property

Member of TCustomSpeedButtonpublicIn unit Buttons

Indicates if the Caption for the speed button is displayed.

Declaration

pascal
property ShowCaption: Boolean read FShowCaption write SetShowCaption default True;

Description

The default value for the property is True. Changing the value for the property causes the control to be redrawn.

ShowCaption is used in the MeasureDraw method. When set to True, the text extent for Caption is displayed using the Font and Layout for the control. It is also used in the GetTextSize method when the text extent is calculated.

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