Sign in Join
FPDoc Onlineexperiment

TCustomButtonPanel.OKButton property

Member of TCustomButtonPanelpublicIn unit ButtonPanel

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

Declaration

pascal
property OKButton: TPanelBitBtn read FButtons[pbOK] default Nil;

Description

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

Use OKButton 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.