[Overview][Types][Classes][Index] | Reference for unit 'CustomDrawnControls' (#lcl)

# TCDButton

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

## Declaration

Source position: customdrawncontrols.pas line 128

`type TCDButton = class(TCDButtonControl)`
`protected`
`FBState: TCDButtonStateEx;` |  |
`procedure Click; override;`
`function GetControlId; override;` |  |
`procedure CreateControlStateEx; override;` |  |
`procedure PrepareControlStateEx; override;` |  |
`public`
`constructor Create(); override;` |  |
`destructor Destroy; override;` |  |
`published`
`property Action: TBasicAction;` |  |
`property Align: TAlign;` |  |
`property Anchors: TAnchors;` |  |
`property AutoSize: Boolean;` |  |
`property Caption: TCaption;` |  |
`property Color: TColor;` |  |
`property Constraints: TSizeConstraints;` |  |
`property DrawStyle: TCDDrawStyle;` |  |
`property Enabled: Boolean;` |  |
`property Font: TFont;` |  |
`property Glyph: TBitmap; [rw]` |  |
`property Kind: TBitBtnKind; [rw]`
`property ModalResult: TModalResult; [rw]`
`property OnChangeBounds: TNotifyEvent;` |  |
`property OnClick: TNotifyEvent;` |  |
`property OnContextPopup: TContextPopupEvent;` |  |
`property OnDragDrop: TDragDropEvent;` |  |
`property OnDragOver: TDragOverEvent;` |  |
`property OnEndDrag: TEndDragEvent;` |  |
`property OnEnter: TNotifyEvent;` |  |
`property OnExit: TNotifyEvent;` |  |
`property OnKeyDown: TKeyEvent;` |  |
`property OnKeyPress: TKeyPressEvent;` |  |
`property OnKeyUp: TKeyEvent;` |  |
`property OnMouseDown: TMouseEvent;` |  |
`property OnMouseEnter: TNotifyEvent;` |  |
`property OnMouseLeave: TNotifyEvent;` |  |
`property OnMouseMove: TMouseMoveEvent;` |  |
`property OnMouseUp: TMouseEvent;` |  |
`property OnMouseWheel: TMouseWheelEvent;`
`property OnMouseWheelDown: TMouseWheelUpDownEvent;`
`property OnMouseWheelUp: TMouseWheelUpDownEvent;`
`property OnResize: TNotifyEvent;` |  |
`property OnStartDrag: TStartDragEvent;` |  |
`property OnUTF8KeyPress: TUTF8KeyPressEvent;` |  |
`property ParentFont: Boolean;` |  |
`property ParentShowHint: Boolean;` |  |
`property PopupMenu: TPopupMenu;` |  |
`property ShowHint: Boolean;` |  |
`property TabOrder: TTabOrder;` |  |
`property TabStop: Boolean;` |  |
`property Visible: Boolean;` |  |
`end;`

## Inheritance

`TCDButton` |  |
`TCDButtonControl` |  |
`TCDControl` |  |
`TCustomControl` |  | The base class for windowed controls which paint themselves.
`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`