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

TCustomButtonPanel.CloseButton

CloseButton - a button with the 'Close' caption for terminating the Form or panel.

Declaration

Source position: buttonpanel.pas line 106

public property TCustomButtonPanel.CloseButton : TPanelBitBtn
  read FButtons[pbClose]
  default Nil;

Description

CloseButton is a read-only TPanelBitBtn property which provides access to the Close button for the panel. Read access is redirected to the internal array of buttons in the class instance.

Use CloseButton to set custom values for properties in the TPanelBitBtn instance, including:

See also

TCustomButtonPanel.CancelButton

  

CancelButton - a button with the 'Cancel' caption for cancelling the operation.

TCustomButtonPanel.HelpButton

  

HelpButton - a button with the 'Help' caption, for requesting help.

TCustomButtonPanel.OkButton

  

OKButton - a button with the caption 'OK' signifying acceptance by the user.


Version 4.0 Generated 2025-05-03 Home