[Overview][Constants][Types][Classes][Procedures and functions][Index] | Reference for unit 'ButtonPanel' (#lcl)

# TCustomButtonPanel

[Properties (by Name)] [Methods (by Name)] [Events (by Name)]

TCustomButtonPanel - base class for TButtonPanel, a panel containing BitButtons

## Declaration

Source position: buttonpanel.pas line 58

`type TCustomButtonPanel = class(TCustomPanel)`
`protected`
`function CreateControlBorderSpacing; override;`
`function CustomAlignInsertBefore(); override;`
`procedure CustomAlignPosition(); override;`
`procedure CalculatePreferredSize(); override;`
`procedure Notification(); override;`
`procedure SetAlign(); override;`
`procedure CMAppShowBtnGlyphChanged(); message;`
`public`
`constructor Create(); override;` |  |
`destructor Destroy; override;` |  |
`property Align;`
`property AutoSize;`
`property OKButton: TPanelBitBtn; [r]` |  | OKButton - a button with the caption 'OK' signifying acceptance by the user
`property HelpButton: TPanelBitBtn; [r]` |  | HelpButton - a button with the 'Help' caption, for requesting help
`property CloseButton: TPanelBitBtn; [r]` |  | CloseButton - a button with the 'Close' caption for terminating the Form or panel
`property CancelButton: TPanelBitBtn; [r]` |  | CancelButton - a button with the 'Cancel' caption for cancelling the operation
`property ButtonOrder: TButtonOrder; [rw]` |  | ButtonOrder - the order in which the series of buttons will appear on the panel
`property DefaultButton: TPanelButton; [rw]` |  | DefaultButton - the button which represents the default action, selected by pressing 'Return' or 'Enter'
`property ShowButtons: TPanelButtons; [rw]` |  | ShowButtons - whether the buttons are to be visible
`property ShowGlyphs: TPanelButtons; [rw]` |  | ShowGlyphs - whether the Glyphs (small images) are to be shown on the buttons
`property ShowBevel: Boolean; [rw]`
`property Spacing: TSpacingSize; [rw]`
`end;`

## Inheritance

`TCustomButtonPanel` |  | TCustomButtonPanel - base class for TButtonPanel, a panel containing BitButtons
`TCustomPanel` |  | TCustomPanel: The base type for TPanel
`TCustomControl` |  | TCustomControl - a base class for many window controls
`TWinControl`
`TControl`
`TLCLComponent` |  | TLCLComponent - base class for LCL components
`TComponent,IUnknown,IInterfaceComponentReference`
`TPersistent`
`TObject`

The latest version of this document can be found at lazarus-ccr.sourceforge.net .