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

TCustomButtonPanel.ButtonOrder

ButtonOrder - the order in which the series of buttons will appear on the panel.

Declaration

Source position: buttonpanel.pas line 108

public property TCustomButtonPanel.ButtonOrder : TButtonOrder
  read FButtonOrder
  write SetButtonOrder
  default boDefault;

Description

ButtonOrder is a TButtonOrder property which indicates the order of the buttons displayed on the panel. The default value for the property is boDefault, 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.

Use boCloseCancelOK or boCloseOKCancel to set the button order where Help is always the last button displayed.

Changing the value in ButtonOrder causes the button panel to be re-drawn.

See also

TButtonOrder

  

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


Version 4.0 Generated 2025-05-03 Home