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

# Reference for unit 'DBCtrls'

Data-aware controls commonly used for viewing and operating on information held in databases.

`uses`
`Types,`
`Classes,`
`SysUtils,`
`DB,`
`Variants,`
`LCLStrConsts,` |  | Contains resource strings used in the LCL.
`LMessages,` |  | Contains Lazarus message codes and their mapping to message codes for other platforms/widgetsets.
`LCLType,` |  | Provides compatibility with the Delphi Windows unit.
`LCLIntf,` |  | Contains WinAPI-like functions for Delphi compatibility.
`LResources,` |  | Maintains a global list of Lazarus resources, and provides methods and types used to stream components.
`Controls,` |  | Contains types, constants, classes, and routines used to implement visual controls.
`Graphics,` |  |
`Dialogs,` |  | Contains common dialogs used in Lazarus LCL applications.
`StdCtrls,` |  | Standard controls used in the Lazarus Component Library (LCL).
`Buttons,` |  | Contains types and classes used to implement specialized buttons.
`MaskEdit,` |  | Defines classes, types, and constants used to implement a masked edit control.
`ExtCtrls,` |  | Contains extra controls commonly used in Lazarus forms.
`Calendar,` |  | Classes and types used to implement TCalendar, a graphic control allowing selection of a date from a calendar display.
`ImgList,` |  | Contains classes and types used in TCustomImageList, the base class for TImageList.
`GraphType,`
`LazTracer,`
`LazUtilities;`

## Overview

dbctrls.pp contains data-aware controls used to access, view, edit, and navigate databases in the Lazarus Component Library (LCL).

The following components are added to the Data Controls tab in the Lazarus IDE Component Palette:

- TDBNavigator
- TDBText
- TDBEdit
- TDBMemo
- TDBImage
- TDBListBox
- TDBLookupListBox
- TDBComboBox
- TDBLookupComboBox
- TDBCheckBox
- TDBRadioGroup
- TDBCalendar
- TDBGroupBox

DefaultFieldClasses (defined in the FPC FCL) are registered as database field classes in the IDE. The TIntegerField type (also defined in the FPC FCL) is registered as a database field class, and is aliased to the TLongintField type. For more information about database field classes, see DefaultFieldClasses and TIntegerField.

## Related topics

`HowToUseDataAwareControls` |  | HowToUseDataAwareControls - Hints for accessing databases.