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

TOpenPictureDialog

[Properties (by Name)] [Methods (by Name)] [Events (by Name)]

TOpenPictureDialog - a preview dialog that shows a preview of a picture before opening the file.

Declaration

Source position: extdlgs.pas line 69

type TOpenPictureDialog = class(TPreviewFileDialog)

protected

  class procedure WSRegisterClass; override;

  

Registers this component class with the current WidgetSet.

  function IsFilterStored; virtual;

  

IsFilterStored - returns True if a filter is stored.

  property ImageCtrl: TImage; [r]

  

TImage used to preview the content in an image file.

  property PictureGroupBox: TGroupBox; [r]

  

PictureGroupBox - a groupbox related to a single picture ???

  procedure InitPreviewControl; override;

  

Initializes the PreviewFileControl for the dialog.

  procedure ClearPreview; virtual;

  

ClearPreview - clears the preview area.

  procedure UpdatePreview; virtual;

  

UpdatePreview - updates the preview image, implementing any pending changes.

public

  constructor Create(); override;

  

Constructor for the class instance.

  procedure DoClose; override;

  

Performs actions needed when the dialog is closed.

  procedure DoSelectionChange; override;

  

Performs actions needed when the selected file name for the dialog is changed.

  procedure DoShow; override;

  

Performs actions needed to display the preview dialog in its initial state.

  function GetFilterExt;

  

GetFilterExt - returns the extension for filtering filenames.

  property DefaultFilter: string; [r]

  

DefaultFilter - the default filename filter.

published

  property Filter: string; [s]

  

Contains a delimited list of descriptions and extensions for file available in the dialog.

end;

Inheritance

TOpenPictureDialog

  

TOpenPictureDialog - a preview dialog that shows a preview of a picture before opening the file.

|

TPreviewFileDialog

  

TPreviewFileDialog - a dialog that allows the contents of a file to be inspected before opening the file.

|

TOpenDialog

  

Implements a File / Open dialog used to select one or more files on the local file system.

|

TFileDialog

  

TFileDialog allows selection of a file from the current directory.

|

TCommonDialog

  

The base type from which other dialogs are derived.

|

TLCLComponent

  

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

|

TComponent,IUnknown,IInterfaceComponentReference

|

TPersistent,IFPObserved

|

TObject

Description

TOpenPictureDialog is a TPreviewFileDialog descendant which implements a dialog used to preview and select image files using common image formats recognized for the platform or OS. It provides DefaultFilter and Filter properties which use file masks for file extensions supported for the TGraphic class. The ImageCtrl property provides the image preview for the dialog.

See also

TOpenPictureDialog.ImageCtrl

  

TImage used to preview the content in an image file.

TOpenPictureDialog.DefaultFilter

  

DefaultFilter - the default filename filter.

TOpenPictureDialog.Filter

  

Contains a delimited list of descriptions and extensions for file available in the dialog.


Version 3.2 Generated 2024-02-25 Home