Sign in Join
FPDoc Onlineexperiment

TCustomButtonPanel.CancelButton property

Member of TCustomButtonPanelpublicIn unit ButtonPanel

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

Declaration

pascal
property CancelButton: TPanelBitBtn read FButtons[pbCancel] default Nil;

Description

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

Use CancelButton 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 Lazarus main 2dfa93c66e of 10-22-2026. Not the official Lazarus documentation.