FMX.Platform.IFMXDialogService.DialogOpenFiles

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

function DialogOpenFiles(const ADialog: TOpenDialog; var AFiles: TStrings; AType: TDialogType = TDialogType.Standard): Boolean;

C++

virtual bool __fastcall DialogOpenFiles(Fmx::Dialogs::TOpenDialog* const ADialog, System::Classes::TStrings* &AFiles, System::Uitypes::TDialogType AType = (System::Uitypes::TDialogType)(0x0)) = 0 ;

Properties

Type Visibility Source Unit Parent
function public
FMX.Platform.pas
FMX.Platform.hpp
FMX.Platform IFMXDialogService

Description

In descendants, DialogOpenFiles implements functionality to display and execute an open files dialog box.

DialogOpenFiles accepts the following parameters:

Parameter Meaning
FileName Contains the filename from the open files dialog box.
AInitDir Specifies the initial directory that the open dialog box will point to.
ADefaultExt Specifies the default file extension the open dialog box will use.
AFilter Specifies the files filter the open dialog box will use.
AFilterIndex Specifies the index of the filter in the filters list that the open dialog box will use upon show.
AFiles Contains the list of files selected to be opened by the open dialog box.
AOptions Specifies a set of options for the open dialog box.

DialogOpenFiles returns True if the open dialog box was executed correctly, False otherwise.

See Also