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

# TPanelBitBtn

[Properties (by Name)] [Methods (by Name)] [Events (by Name)]

Implements the buttons displayed for TButtonPanel.

## Declaration

Source position: buttonpanel.pas line 36

`type TPanelBitBtn = class(TCustomBitBtn)`
`public`
`constructor Create(); override;` |  | Constructor for the class instance.
`published`
`property Caption: TCaption; [s]` |  | The text displayed for the control.
`property DefaultCaption: Boolean; [s]` |  | Indicates if the Caption for the button contains a default value.
`property Left: Integer; [s]` |  | Contains the Left pixel coordinate for the button.
`property Top: Integer; [s]` |  | Contains the Top pixel coordinate for the button.
`property Width: Integer; [s]` |  | Contains the Width in pixels for the button.
`property Height: Integer; [s]` |  | Contains the Height in pixels for the button.
`property Enabled: Boolean;` |  | Determines whether the control responds to mouse or keyboard input.
`property Font: TFont;` |  | The font to be used for text display in this control.
`property Glyph: TBitmap;` |  | Bitmap with the Glyph displayed on the control.
`property Name; [s]` |  | Name or identifier assigned for the button.
`property PopupMenu: TPopupMenu;` |  | Popup menu displayed when the button is pressed or clicked.
`property ShowHint: Boolean;` |  | Enables Hint display for the control.
`property OnClick: TNotifyEvent;` |  | Notification handler for mouse clicks.
`end;`

## Inheritance

`TPanelBitBtn` |  | Implements the buttons displayed for TButtonPanel.
`TCustomBitBtn` |  | TCustomBitBtn - the ancestor class for TBitBtn.
`TCustomButton` |  | The base class for a push button control.
`TButtonControl` |  | Specifies a base class for button controls.
`TWinControl` |  | Implements a windowed control which can contain other child controls.
`TControl` |  | The base class for visible controls.
`TLCLComponent` |  | The base class for LCL components which have an associated widget.
`TComponent`
?
`TObject`

## Description

TPanelBitBtn is a TCustomBitBtn descendant used to implement the buttons displayed for TButtonPanel. TPanelBitBtn is the type used to implement the OKButton, HelpButton, CloseButton, and CancelButton properties in TButtonPanel.

TPanelBitBtn includes an overridden constructor to mark its use as a sub-component. It also sets the visibility, storage specifiers, and default values for properties inherited from ancestors classes.

## See also

TCustomButtonPanel.OKButton |  | OKButton - a button with the caption 'OK' signifying acceptance by the user.
TCustomButtonPanel.CancelButton |  | CancelButton - a button with the 'Cancel' caption for cancelling the operation.
TCustomButtonPanel.CloseButton |  | CloseButton - a button with the 'Close' caption for terminating the Form or panel.
TCustomButtonPanel.HelpButton |  | HelpButton - a button with the 'Help' caption, for requesting help.
TCustomBitBtn |  | TCustomBitBtn - the ancestor class for TBitBtn.