[Overview][Constants][Types][Classes][Procedures and functions][Index] |
Indicates whether the Caption text is displayed on the tool button.
Source position: comctrls.pp line 2212
published property TToolButton.ShowCaption : Boolean |
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.
|
The text displayed for the control. |
|
|
Determines the display style for the tool button. |
|
|
Draws the tool bar button to the Canvas for the control. |
|
|
Indicates whether captions are displayed on tool bar buttons. |
|
|
Indicates whether buttons on the tool bar are displayed using a list style. |
|
|
Enumerated type with values representing the display styles and behaviors for buttons on a TToolBar control. |
Version 3.2 | Generated 2024-02-25 | Home |