Sign in Join
FPDoc Onlineexperiment

TPreviewFileDialog class

In unit ExtDlgs

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

Declaration

pascal
TPreviewFileDialog = class(TOpenDialog)

Inheritance

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

Descends from it: TOpenPictureDialog

Description

TPreviewFileDialog is a TOpenDialog descendant which implement a dialog used to preview and select a file on the local file system. TPreviewFileDialog extends the ancestor class with additional properties, methods, and events used to configure and execute the dialog.

See also

Properties

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

Methods

WSRegisterClassprotectedRegisters this component class with the current WidgetSet.
CreatePreviewControlprotectedCreatePreviewControl - create an instance of the windowed control used in the dialog.
InitPreviewControlprotectedInitPreviewControl - initializes the windowed control created for the dialog.
DoExecuteprotectedCreates the PreviewFileControl and displays the dialog.
CreatepublicConstructor for the class instance.

Inherited

From TOpenDialog (13)

CheckAllFiles CheckFile CheckFileMustExist DefaultTitle DoCanClose DoFolderChange DoSelectionChange IntfSetOption OnFolderChange OnSelectionChange Options OptionsEx ResolveLinks

From TFileDialog (19)

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

From TCommonDialog (20)

AttachTo Close DoClose DoShow 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.