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

# TCDButtonControl

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

## Declaration

Source position: customdrawncontrols.pas line 92

`type TCDButtonControl = class(TCDControl)`
`protected`
`FHasOnOffStates: Boolean;` |  |
`FIsGrouped: Boolean;` |  |
`FGroupIndex: Integer;` |  |
`FAllowGrayed: Boolean;` |  |
`procedure KeyDown(); override;` |  |
`procedure KeyUp(); override;` |  |
`procedure MouseDown(); override;` |  |
`procedure MouseUp(); override;` |  |
`procedure MouseEnter; override;` |  |
`procedure MouseLeave; override;` |  |
`procedure DoUncheckButton; virtual;` |  |
`procedure DoCheckIfFirstButtonInGroup;` |  |
`procedure DoButtonDown; virtual;` |  |
`procedure DoButtonUp; virtual;` |  |
`procedure RealSetText(); override;` |  |
`function GetChecked;` |  |
`procedure SetChecked();` |  |
`function GetCheckedState;` |  |
`procedure SetCheckedState();` |  |
`property AllowGrayed: Boolean; [rw]` |  |
`property Checked: Boolean; [rw]` |  |
`property State: TCheckBoxState; [rw]` |  |
`end;`

## Inheritance

`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`