TToolButton.ShowCaption property
Indicates whether the Caption text is displayed on the tool button.
Declaration
property ShowCaption: Boolean read FShowCaption write SetShowCaption default True;Description
ShowCaption is a
Boolean property which indicates
whether the value in the Caption property is displayed on the button surface.
The default value for the property is
True, and enables the text on
buttons with a Style value that is are not a divider or a separator.
ShowCaption is used in conjunction with the ShowCaptions property in the tool
bar where the button is displayed. The ShowCaptions property in the parent
tool bar takes precedence. Setting ShowCaption to False for the
button is relevant when the List property in the tool bar is True.
ShowCaption is used in the Paint method when the text size for the Caption is calculated.
See also
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
