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

# TExtCommonDialog

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

The common base class for custom drawn dialogs (Calculator and Calendar).

## Declaration

Source position: extdlgs.pas line 113

`type TExtCommonDialog = class(TCommonDialog)`
`protected`
`function GetLeft; virtual;` |  | Gets the value for the Left property.
`function GetHeight; override;` |  | Gets the value for the Height property.
`function GetTop; virtual;` |  | Gets the value for the Top property.
`function GetWidth; override;` |  | Gets the value for the Width property.
`procedure SetLeft(); virtual;` |  | Sets the value for the Left property.
`procedure SetTop(); virtual;` |  | Sets the value for the Top property.
`property DlgForm: TCustomForm; [rw]` |  | Contains the form displayed modally for the custom-drawn dialog.
`public`
`constructor Create(); override;` |  | Constructor for the class instance.
`destructor Destroy; override;` |  | Destructor for the class instance.
`property Left: Integer; [rw]` |  | Contains the left coordinate for the dialog form.
`property Top: Integer; [rw]` |  | Contains the top coordinate for the dialog form.
`published`
`property DialogPosition: TPosition; [rw]` |  | Specifies the position where the dialog is displayed.
`end;`

## Inheritance

`TExtCommonDialog` |  | The common base class for custom drawn dialogs (Calculator and Calendar).
`TCommonDialog` |  | The base type from which other dialogs are derived.
`TLCLComponent` |  | The base class for LCL components which have an associated widget.
`TComponent`
?
`TObject`

## Description

TExtCommonDialog is a TCommonDialog descendant which implements a common base class for custom drawn dialogs such as TCalculatorDialog and TCalendarDialog. It provides additional properties used to set the position for the form displayed in the dialog.

## See also

TExtCommonDialog.DlgForm |  | Contains the form displayed modally for the custom-drawn dialog.
TExtCommonDialog.DialogPosition |  | Specifies the position where the dialog is displayed.
TExtCommonDialog.Left |  | Contains the left coordinate for the dialog form.
TExtCommonDialog.Top |  | Contains the top coordinate for the dialog form.
TCalculatorDialog |  | Implements a pop-up calculator dialog used to perform simple calculations and return the value.
TCalendarDialog |  | TCalendarDialog - a popup calendar dialog that allows a date to be selected and returned to the main program.
TCommonDialog |  | The base type from which other dialogs are derived.