Sign in Join
FPDoc Onlineexperiment

TCustomButtonPanel.CloseButton property

Member of TCustomButtonPanelpublicIn unit ButtonPanel

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

Declaration

pascal
property 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:

  • Caption
  • Cursor
  • DefaultCaption
  • Enabled
  • Font
  • Glyph
  • Name
  • PopupMenu
  • ShowHint
  • Tag

See also

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.