[Overview][Constants][Types][Classes][Procedures and functions][Index] |
Indicates the panel buttons displayed with Glyphs (small images).
Source position: buttonpanel.pas line 112
public property TCustomButtonPanel.ShowGlyphs : TPanelButtons |
ShowGlyphs contains values from the TPanelButton enumeration, and defines which panel buttons in ShowButtons are displayed with glyph images. The default value for the property is defined in the DefShowGlyphs constant.
Changing the values in the property causes the panel and its buttons to be re-sized and re-drawn.
A default glyph image is provided for each TPanelBitBtn instance on the panel using the internal button name, like "OKButton" or "CancelButton". The default glyph image is loaded from LCL glyph resources when the button is created. Use OkButton, CancelButton, CloseButton, and HelpButton to provide custom values used in the panel buttons.
Use ShowButtons to control which buttons are displayed on the panel. For example:
// var aButtonPanel: TButtonPanel... // use Ok and Cancel buttons only AButtonPanel.ShowButtons := [pbOk, pbCancel]; AButtonPanel.ShowGlyphs := [pbOk, pbCancel];
|
OKButton - a button with the caption 'OK' signifying acceptance by the user. |
|
|
CancelButton - a button with the 'Cancel' caption for cancelling the operation. |
|
|
CloseButton - a button with the 'Close' caption for terminating the Form or panel. |
|
|
HelpButton - a button with the 'Help' caption, for requesting help. |
|
|
Indicates the buttons displayed on the panel. |
|
|
Implements the buttons displayed for TButtonPanel. |
|
|
Defines the default glyphs displayed for the buttons on a button panel instance. |
Version 4.0 | Generated 2025-05-03 | Home |