[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)`
``
`class procedure WSRegisterClass; override;` |  | WSRegisterClass - Register this Class for the current Widget Set
`class function GetControlClassDefaultSize; override;` |  | Find the default size for this class of controls (by reference to parents)
`protected`
`procedure SetPreviewFileDialog();` |  | SetPreviewFileDialog - specify the PreviewFile Dialog to be used
`procedure CreateParams(); override;` |  | CreateParams - create parameters for this windowed class
`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`
`TControl`
`TLCLComponent` |  | TLCLComponent - base class for LCL components
`TComponent,IUnknown,IInterfaceComponentReference`
`TPersistent`
`TObject`

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