[Overview][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 37

type TPreviewFileControl = class(TWinControl)

protected

  class procedure WSRegisterClass; override;

  

Registers this component class with the current WidgetSet.

  class function GetControlClassDefaultSize; override;

  

Returns the default dimensions for new instances of the class.

  procedure SetPreviewFileDialog();

  

Sets the value for the PreviewFileDialog property.

  procedure CreateParams(); override;

public

  constructor Create(); override;

  

Constructor for the class instance.

  property PreviewFileDialog: TPreviewFileDialog; [rw]

  

Dialog which created the file preview control.

end;

Inheritance

TPreviewFileControl

  

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

|

TWinControl

  

Implements a windowed control which can contain other child controls.

|

TControl

  

The base class for visible controls.

|

TLCLComponent

  

The base class for LCL components which have an associated widget.

|

TComponent,IUnknown,IInterfaceComponentReference

|

TPersistent,IFPObserved

|

TObject

Description

TPreviewFileControl is a TWinControl descendant which implements a windowed control that allows the content in a file to be viewed in a TPreviewFileDialog class instance.

TPreviewFileControl is the type used to implement the PreviewFileControl property in TPreviewFileDialog.

See also

TPreviewFileDialog.PreviewFileControl

  

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


Version 3.2 Generated 2024-02-25 Home