Sign in Join
FPDoc Onlineexperiment

TButtonPanel.ShowButtons property

Member of TButtonPanelpublishedIn unit ButtonPanel

Indicates the buttons displayed on the panel.

Declaration

pascal
property ShowButtons:;

Description

ShowButtons is a TPanelButtons property which contains the set of buttons displayed on the panel. The default value for the property is defined in the DefShowButtons constant.

Changing the values in the property causes the panel and its buttons to be re-sized and re-drawn.

Use ShowGlyphs to indicate which buttons have an image displayed on the button surface.

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.ShowButtons.

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