TButtonPanel.ShowGlyphs property
Indicates the panel buttons displayed with Glyphs (small images).
Declaration
property ShowGlyphs:;Description
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];
This description is the one of ButtonPanel.TCustomButtonPanel.ShowGlyphs.
See also
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
