Sign in Join
FPDoc Onlineexperiment

TOpenPictureDialog class

In unit ExtDlgs

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

Declaration

pascal
TOpenPictureDialog = class(TPreviewFileDialog)

Inheritance

  1. TOpenPictureDialog
  2. TPreviewFileDialog
  3. TOpenDialog
  4. TFileDialog
  5. TCommonDialog
  6. TLCLComponent
  7. TComponent
  8. TPersistent
  9. TObject

Descends from it: TSavePictureDialog

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

Properties

ImageCtrlprotectedTImage used to preview the content in an image file.
PictureGroupBoxprotectedPictureGroupBox - a groupbox related to a single picture ???
DefaultFilterpublicDefaultFilter - the default filename filter.
FilterpublishedContains a delimited list of descriptions and extensions for file available in the dialog.
OptionspublishedIndicates the dialog options enabled for the class instance.

Methods

WSRegisterClassprotectedRegisters this component class with the current WidgetSet.
IsFilterStoredprotectedIsFilterStored - returns True if a filter is stored.
InitPreviewControlprotectedInitializes the PreviewFileControl for the dialog.
ClearPreviewprotectedClearPreview - clears the preview area.
UpdatePreviewprotectedLoads the preview image for the current file name, or clears the preview image when the file is not usable.
CreatepublicConstructor for the class instance.
DoClosepublicPerforms actions needed when the dialog is closed.
DoSelectionChangepublicPerforms actions needed when the selected file name for the dialog is changed.
DoShowpublicPerforms actions needed to display the preview dialog in its initial state.
GetFilterExtpublicGetFilterExt - returns the extension for filtering filenames.

Inherited

From TPreviewFileDialog (3)

CreatePreviewControl DoExecute PreviewFileControl

From TOpenDialog (11)

CheckAllFiles CheckFile CheckFileMustExist DefaultTitle DoCanClose DoFolderChange IntfSetOption OnFolderChange OnSelectionChange OptionsEx ResolveLinks

From TFileDialog (18)

DefaultExt Destroy DoTypeChange ExtractAllFilterMasks FileName Files FilterIndex FindMaskInFilter GetFilterIndex HistoryList InitialDir IntfFileTypeChanged OnHelpClicked OnTypeChange SetFileName SetFilter SetHistoryList Title

From TCommonDialog (18)

AttachTo Close Execute GetHeight GetWidth Handle HandleAllocated Height HelpContext OnCanClose OnClose OnDialogResult OnShow ResetShowCloseFlags SetHeight SetWidth UserChoice Width

From TLCLComponent (7)

DecLCLRefCount GetWSComponentClass IncLCLRefCount LCLRefCount NewInstance RemoveAllHandlersOfObject WidgetSetClass

From TComponent (74)

_AddRef _Release BeforeDestruction CanObserve ChangeName ComObject ComponentCount ComponentIndex Components ComponentState ComponentStyle DefineProperties DesignInfo DestroyComponents Destroying ExecuteAction FindComponent FreeNotification FreeOnRelease GetChildOwner GetChildParent GetChildren GetDeltaStreams GetEnumerator GetIDsOfNames GetNamePath GetObservers GetOwner GetParentComponent GetTypeInfo GetTypeInfoCount HasParent iicrGetComponent InsertComponent Invoke IsImplementorOf Loaded Loading Name Notification ObserverAdded Observers OnGetDeltaStreams Owner PaletteCreated QueryInterface ReadDeltaState ReadDeltaStream ReadState ReferenceInterface RemoveComponent RemoveFreeNotification RemoveFreeNotifications SafeCallException SetAncestor SetChildOrder SetDesigning SetDesignInstance SetInline SetName SetParentComponent SetSubComponent Tag ToString TToStringNameMode UpdateAction Updated UpdateRegistry Updating ValidateContainer ValidateInsert ValidateRename VCLComObject WriteState

From TPersistent (5)

Assign AssignTo FPOAttachObserver FPODetachObserver FPONotifyObservers

From TObject (36)

AfterConstruction CheckDisposed ClassInfo ClassName ClassNameIs ClassParent ClassType CleanupInstance DefaultHandler DefaultHandlerStr Dispatch DispatchStr Disposed DisposeOf Equals FieldAddress Free FreeInstance GetDisposed GetHashCode GetInterface GetInterfaceByStr GetInterfaceEntry GetInterfaceEntryByStr GetInterfaceTable GetInterfaceWeak GetLastCastErrorInfo InheritsFrom InitInstance InstanceSize MethodAddress MethodName QualifiedClassName StringMessageTable SystemHasExtendedRTTI UnitName

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.