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

# TPanelButtonEx

Enumeration with values that represent the buttons used on TButtonPanel.

## Declaration

Source position: buttonpanel.pas line 24

`type TPanelButtonEx = (`
`pbOK,` |  | Represents the OK button on the panel.
`pbCancel,` |  | Represents the Cancel button on the panel.
`pbClose,` |  | Represents the Close button on the panel.
`pbHelp,` |  | Represents the Help button on the panel.
`pbNone` |  | Indicates that a button is not enabled as the default button on a button panel.
`);`

## Description

TPanelButtonEx is an enumeration type with values which represent the default button used on TButtonPanel. Values from the enumeration (except for pbNone) are used to define the TPanelButton type.

## Version info

Added in LCL version 2.3.0.

## See also

TPanelButton |  | Represents the visible buttons and glyphs used on a TButtonPanel control.
TCustomButtonPanel.DefaultButton |  | The default button executed when Enter or Return are pressed.