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

# TButtonOrder

Enumerated type with the display order used for buttons on TButtonPanel.

## Declaration

Source position: buttonpanel.pas line 23

`type TButtonOrder = (`
`boDefault,` |  | Uses the common button order for the platform or operating system.
`boCloseCancelOK,` |  | Use the button order Close, Cancel, OK, Help.
`boCloseOKCancel` |  | Use the button order Close, OK, Cancel, Help.
`);`

## Description

TButtonOrder is an enumeration with values which indicate the display order used for buttons on TCustomButtonPanel and TButtonPanel.

The value boDefault has a special meaning, and causes the button order to be set to the sequence normally used for the platform or operating system.

For example:

UNIX-like environments
  Uses Ok, Cancel, Close, and Help button order.
All other platforms
  Uses Cancel, Ok, Close, and Help button order.

TButtonOrder is the type used to implement the TCustomButtonPanel.ButtonOrder property.

## See also

TCustomButtonPanel.ButtonOrder |  | ButtonOrder - the order in which the series of buttons will appear on the panel.
TButtonPanel |  | Implements a panel with Bitmap Button instances.