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

# Reference for unit 'Dialogs'

Contains common dialogs used in Lazarus LCL applications.

`uses`
`Types,`
`TypInfo,`
`Classes,`
`SysUtils,`
`System.UITypes,`
`LMessages,` |  | Contains Lazarus message codes and their mapping to message codes for other platforms/widgetsets.
`LResources,` |  | Maintains a global list of Lazarus resources, and provides methods and types used to stream components.
`LCLIntf,` |  | Contains WinAPI-like functions for Delphi compatibility.
`InterfaceBase,` |  | Provides a platform-independent widgetset class and helper functions.
`LCLStrConsts,` |  | Contains resource strings used in the LCL.
`LCLType,` |  | Provides compatibility with the Delphi Windows unit.
`Forms,` |  | Implements Forms which are the basis for the LCL Graphical User Interface.
`Controls,` |  | Contains types, constants, classes, and routines used to implement visual controls.
`Themes,` |  | Implements Theme Services for supported platforms / widgetsets.
`Graphics,` |  |
`Buttons,` |  | Contains types and classes used to implement specialized buttons.
`ButtonPanel,` |  | Provides a panel with buttons using glyph images.
`StdCtrls,` |  | Standard controls used in the Lazarus Component Library (LCL).
`ExtCtrls,` |  | Contains extra controls commonly used in Lazarus forms.
`LCLClasses,` |  | Defines the base class for all LCL TComponents including controls.
`Clipbrd,` |  | Definitions for the Clipboard to hold Cut or Copied data for Pasting.
`Menus,` |  | Implements menus used in forms created with the Lazarus IDE.
`DialogRes,` |  | Contains types and constants used to access scalable dialog images.
`ComCtrls,` |  | Common controls used in Lazarus forms.
`GraphType,`
`FileUtil,`
`LazFileUtils,`
`LazStringUtils,`
`LazLoggerBase;`

## Overview

dialogs.pp contains classes, types, and routines used to implement common dialogs in an application. dialogs.pp is part of the Lazarus Component Library (LCL).

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

Dialogs Tab

- TOpenDialog
- TSaveDialog
- TSelectDirectoryDialog
- TColorDialog
- TFontDialog
- TFindDialog
- TReplaceDialog
- TTaskDialog

Misc Tab

- TColorButton