TOpenPictureDialog class
TOpenPictureDialog - a preview dialog that shows a preview of a
picture before opening the file.Declaration
TOpenPictureDialog = class(TPreviewFileDialog)Inheritance
- TOpenPictureDialog
- TPreviewFileDialog
- TOpenDialog
- TFileDialog
- TCommonDialog
- TLCLComponent
- TComponent
- TPersistent
- 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
ImageCtrl | protected | TImage used to preview the content in an image file. |
PictureGroupBox | protected | PictureGroupBox - a groupbox related to a single picture ??? |
DefaultFilter | public | DefaultFilter - the default filename filter. |
Filter | published | Contains a delimited list of descriptions and extensions for file available in the dialog. |
Options | published | Indicates the dialog options enabled for the class instance. |
Methods
WSRegisterClass | protected | Registers this component class with the current WidgetSet. |
IsFilterStored | protected | IsFilterStored - returns True if a filter is stored. |
InitPreviewControl | protected | Initializes the PreviewFileControl for the dialog. |
ClearPreview | protected | ClearPreview - clears the preview area. |
UpdatePreview | protected | Loads the preview image for the current file name, or clears the preview image when the file is not usable. |
Create | public | Constructor for the class instance. |
DoClose | public | Performs actions needed when the dialog is closed. |
DoSelectionChange | public | Performs actions needed when the selected file name for the dialog is changed. |
DoShow | public | Performs actions needed to display the preview dialog in its initial state. |
GetFilterExt | public | GetFilterExt - returns the extension for filtering filenames. |
Inherited
From TPreviewFileDialog (3)
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.
