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

# TPreviewFileDialog.PreviewFileControl

Windowed control used to preview the contents of a file in the dialog.

## Declaration

Source position: extdlgs.pas line 64

`public property TPreviewFileDialog.PreviewFileControl : TPreviewFileControl read GetPreviewFileControl;`

## Description

PreviewFileControl is a read-only TPreviewFileControl property which contains the windowed control used to preview the contents of a file in the dialog. The resources for the property are allocated in the CreatePreviewControl method called when the dialog is executed. The property value is unassigned (contains Nil) prior to calling Execute.

## See also

TPreviewFileControl |  | TPreviewFileControl - a windowed control allowing the contents of a file to be previewed before opening.
TPreviewFileDialog.CreatePreviewControl |  | CreatePreviewControl - create an instance of the windowed control used in the dialog.
TCommonDialog.Execute |  | Displays the dialog and captures the result.