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

TPreviewFileDialog.CreatePreviewControl

CreatePreviewControl - create an instance of the windowed control used in the dialog.

Declaration

Source position: extdlgs.pas line 59

protected procedure TPreviewFileDialog.CreatePreviewControl; virtual;

Description

CreatePreviewControl is a procedure used to create and initialize the class instance used in the PreviewFileControl property. CreatePreviewControl create a TPreviewFileControl instance, sets its PreviewFileDialog property to the current class, and calls the InitPreviewControl method.

CreatePreviewControl is called from the DoExecute method in TPreviewFileDialog.

See also

TPreviewFileDialog.PreviewFileControl

  

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

TPreviewFileControl

  

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

TPreviewFileDialog.DoExecute

  

Creates the PreviewFileControl and displays the dialog.


Version 4.0 Generated 2025-05-03 Home