Sign in Join
FPDoc Onlineexperiment

TPreviewFileDialog.CreatePreviewControl procedure

Member of TPreviewFileDialogprotectedIn unit ExtDlgs

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

Declaration

pascal
procedure 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

An experiment, built from Lazarus main 2dfa93c66e of 10-22-2026. Not the official Lazarus documentation.