# DColorButton (of `DButton`)

class `DColorButton`

  Defined in DColorButton.sc.

  A Button control that lets you set various colors for different states.

## Properties

Inherited from `DButton`:

Property | Description
--- | ---
type |
state |
nsTop |
nsLeft |
nsBottom |
nsRight |
key |
said | Unused
value |
text |
font |
name |

Defined in DColorButton:

Property | Description
--- | ---
mode | alLEFT, alCENTER or alRIGHT.
nfc | Normal foreground color.
nbc | Normal background color.
hfc | Highlight foreground color.
hbc | Highlight background color.
sfc | Selected foreground color.
sbc | Selected background color.

## Methods

`track`(param1)

`setSize`(param1)

`draw`()