Sign in Join
FPDoc Onlineexperiment

TToolBar.ShowCaptions property

Member of TToolBarpublishedIn unit ComCtrls

Indicates whether captions are displayed on tool bar buttons.

Declaration

pascal
property ShowCaptions: Boolean read FShowCaptions write SetShowCaptions default False;

Description

ShowCaptions is a Boolean property which indicates whether caption text is displayed on tool bar buttons. The default value for the property is False. Changing the value for the property causes the tool bar to be redrawn.

ShowCaptions is used in the Paint method for the tool buttons on the control. When set to True, the caption text for a button is centered aligned at the bottom edge of the button. The icon for a button is drawn center aligned at the top edge of the button.

Use the List property (along with ShowCaption in the tool buttons) to display captions and icons using a list-style format where the icon and caption are on a single line.

See also

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