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

# TPreviewFileControl

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

TPreviewFileControl - a windowed control allowing the contents of a file to be previewed before opening

## Declaration

Source position: extdlgs.pas line 40

`type TPreviewFileControl = class(TWinControl)`
`protected`
`procedure WSRegisterClass; override;` |  | WSRegisterClass - Register this Class for the current Widget Set
`procedure SetPreviewFileDialog();` |  | SetPreviewFileDialog - specify the PreviewFile Dialog to be used
`procedure CreateParams(); override;` |  | CreateParams - create parameters for this windowed class
`function GetControlClassDefaultSize; override;` |  | Find the default size for this class of controls (by reference to parents)
`public`
`constructor Create(); override;` |  |
`property PreviewFileDialog: TPreviewFileDialog; [rw]` |  | The PreviewFileDialog that is used for this control
`end;`

## Inheritance

`TPreviewFileControl` |  | TPreviewFileControl - a windowed control allowing the contents of a file to be previewed before opening
`TWinControl` |  | TWinControl - the base class for all windowed controls
`TControl` |  | TControl - the main ancestor class for visual controls.
`TLCLComponent`
?
`TObject`

The latest version of this document can be found at lazarus-ccr.sourceforge.net.