[Overview][Constants][Types][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 73

type TOpenPictureDialog = class(TPreviewFileDialog)

  class procedure WSRegisterClass; override;

  

WSRegisterClass - Register this Class for the current Widget Set

protected

  function IsFilterStored; virtual;

  

IsFilterStored - returns True if a filter is stored

  property ImageCtrl: TImage; [r]

  

ImageCtrl - the Image used as a control

  property PictureGroupBox: TGroupBox; [r]

  

PictureGroupBox - a groupbox related to a single picture

  procedure InitPreviewControl; override;

  

InitPreviewControl - initialises the windowed control that uses this 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;

  

  procedure DoClose; override;

  

DoClose - software emulation of the OnClose event

  procedure DoSelectionChange; override;

  

DoSelectionChange - execute the code for a change in selection

  procedure DoShow; override;

  

DoShow - the procedure that actually takes care of showing the dialog box

  function GetFilterExt;

  

GetFilterExt - returns the extention for filtering filenames

  property DefaultFilter: String; [r]

  

DefaultFilter - the default filename filter

published

  property Filter; [s]

  

A string which contains possible filename filters (eg .doc, .xmp, .pas etc).

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 file contents to be inspected before opening the file

|

TOpenDialog

  

TOpenDialog : open a file in the current directory, selected by File Dialog.

|

TFileDialog

  

TFileDialog : allows selection of a file from the current directory.

|

TCommonDialog

  

TCommonDialog : the base type from which other dialogs are derived

|

TLCLComponent

  

TLCLComponent - base class for LCL components

|

TComponent,IUnknown,IInterfaceComponentReference

|

TPersistent

|

TObject

The latest version of this document can be found at lazarus-ccr.sourceforge.net.