| Funktionsname | dcl_SelectFiles |
|---|---|
| Syntax | (dcl_SelectFiles
{FileTypes [as List of
Strings]}
{Title [as
String]}
{DefaultDirectory [as
String]}) |
| Rückgabewert | String |
This function prompts the user to select one or more files. The optional FileTypes argument can specify a list of allowed file types, with each file type formatted as a string of the form "TypeName|Filter" (TypeName is how the file type is displayed in the dropdown file type selection list, filter is the wildcard specification for files of that type). The optional Title argument specifies a custom title for the file dialog. If DefaultDirectory is specified, the dialog opens in that directory. The function returns a list of selected files (including their complete path), or NIL if the dialog is cancelled.