|
|
|
|
|
- Selecting files
- Operating mode in Java
- Former and new directory picker
Opens a directory picker. The directory picker is as follows (the appearance may change according to the system used)
Note: It is possible to select a local directory or a directory on a network drive..
Directory = fSelectDir("C:\Directories", "Select a directory", ...
"Select the directory that will be copied")
Sintaxis
<Result> = fSelectDir(<Directory selected by default> , <Picker title> [, <Picker comments> [, <Root directory> [, <Options>]]])
<Result>: Character string - Path and full name of the selected directory,
- Empty string ("") if no directory was selected. To get more details on the error, use ErrorInfo with the errMessage constant.
<Directory selected by default>: Character string Name and full (or relative) path of the directory selected by default. A UNC path can be used. This parameter must end with "\". If this parameter is an empty string (""), no directory will be selected by default.
<Picker title>: Character string Text displayed in the title bar of the directory picker. If this parameter is an empty string (""), the "Find a folder" title will be displayed. <Picker comments>: Optional character string Comments displayed at the top of the directory picker. <Root directory>: Optional character string Name and full path of the "root" directory in the suggested tree structure. A UNC path can be used. If this parameter is an empty string (""), the "Desktop" directory will start the proposed tree structure. This parameter is used to limit the selection to the directories of a given disk or to the subdirectories of a given directory.If this parameter differs from empty string (""), the former directory picker will be used. <Options>: Optional Integer constant Allows you to specify: - the format of the function result. By default, fSelectDir returns a character string in Ansi format.
- the style of the directory picker.
| | fdForbidVirtualFolder | <Result> will not contain the virtual directories.
| fdFormerAspect | Allows you to use the former directory picker (old style). | fUnicodePath | <Result> will be a Unicode string.
|
Observaciones Selecting files fSelectDir is used to select a directory. To select a file, use fSelect. Clasificación Lógica de negocio / UI: Código UI
Esta página también está disponible para…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|