FileOpenDialog

Qualified name: delphivcl.FileOpenDialog

class FileOpenDialog

Bases: Component

Class for Vista and newer Windows operating systems style file open dialogs. This class extends TCustomFileOpenDialog. It allows creating Microsoft Windows Vista (or newer Windows operating systems) style file open dialogs CLSID_FileOpenDialog and implements the IFileOpenDialog interface.

Methods

Execute

Displays the dialog

Attributes

ClassName

Returns the TObject.ClassName

ClientGuid

str:

ComObject

Specifies the interface reference implemented by the component.

ComponentCount

Returns the owned component count

ComponentIndex

Indicates the position of the component in its owner's Components property array.

ComponentState

Describes the current state of the component, indicating when a component needs to avoid certain actions.

ComponentStyle

Governs the behavior of the component.

Components

Returns an iterator over the owned components

DefaultExtension

str:

DefaultFolder

str:

DesignInfo

Contains information used by the Form designer.

Dialog

IFileDialog:

FavoriteLinks

FavoriteLinkItems:

FileName

FileNameLabel

str:

FileTypeIndex

int:

FileTypes

FileTypeItems:

Files

Strings:

Handle

int:

Name

Specifies the name of the component as referenced in code.

Observers

Indicates the TObservers object added to the TComponent.

OkButtonLabel

str:

OnFileOkClick

Callable[[Object, bool], None]:

OnFolderChanging

Callable[[Object, bool], None]:

OnShareViolation

Callable[[Object, FileDialogShareViolationResponse], None]:

Options

FileDialogOptions:

Owner

Returns the Component Owner

ShellItem

IShellItem:

ShellItems

IShellItemArray:

Tag

Stores a NativeInt integral value as a part of a component.

Title

str:

VCLComObject

Represents information used internally by components that support COM.

ClientGuid

str:

DefaultExtension

str:

DefaultFolder

str:

Dialog

IFileDialog:

Execute()

Displays the dialog

FavoriteLinkItems:

FileNameLabel

str:

FileTypeIndex

int:

FileTypes

FileTypeItems:

Files

Strings:

Handle

int:

OkButtonLabel

str:

OnFileOkClick

Callable[[Object, bool], None]:

OnFolderChanging

Callable[[Object, bool], None]:

OnShareViolation

Callable[[Object, FileDialogShareViolationResponse], None]:

Options

FileDialogOptions:

ShellItem

IShellItem:

ShellItems

IShellItemArray:

Title

str: