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

# Reference for unit 'ColorBox'

Defines classes for selecting a color from a combo-box or a list box.

`uses`
`LResources,` |  | Maintains a global list of Lazarus resources, and provides methods and types used to stream components.
`SysUtils,`
`Types,`
`Classes,`
`LCLType,` |  | Provides compatibility with the Delphi Windows unit.
`LCLStrConsts,` |  | Contains resource strings used in the LCL.
`Graphics,` |  |
`Controls,` |  | Contains types, constants, classes, and routines used to implement visual controls.
`Forms,` |  | Implements Forms which are the basis for the LCL Graphical User Interface.
`Dialogs,` |  | Contains common dialogs used in Lazarus LCL applications.
`StdCtrls,` |  | Standard controls used in the Lazarus Component Library (LCL).
`LazStringUtils;`

## Overview

colorbox.pas contains TColorBox and TColorListBox. TColorBox is a component that displays colors in a combo-box control. TColorListBox is a component that displays colors in a list box control. colorbox.pas is part of the Lazarus Component Library (LCL).

The following components are added to the Lazarus IDE component palette:

Additional Tab

- TColorBox
- TColorListBox