4D v13.4

System Documents

Home

 
4D v13.4
System Documents

System Documents 

 

Constant  Type Value Comment
Absolute path  Longint 2 The documents array contains absolute pathnames
Alias selection  Longint 8 Authorizes the selection of shortcuts (Windows) or aliases (Mac OS) as document.
By default, if this constant is not used, when an alias or shortcut is selected, the command will return the access path of the targeted element. When you pass the constant, the command returns the path of the alias or shortcut itself.
File name entry  Longint 32 Allows user to enter a file name in a 'Save as' dialog box. No file is saved and it is up to the developer to create a file in response to this action (the Document system variable is updated). In this context, the directory parameter may contain the path to a file instead of a directory. The file name will be used as the suggested file name in the Save as text field. The parent directory will be used as default path.
Folder separator  String Windows="\" Mac OS=":" This constant has a different value depending on the operating system from which it is called. It can be used to build valid pathnames without taking the operating platform into account.
Note: This constant is only used for 4D applications executed in Unicode mode (it is not supported in non-Unicode compatibility mode).
Get Pathname  Longint 3  
Ignore invisible  Longint 8 Invisible documents are not listed
Is a document  Longint 1  
Is a folder  Longint 0  
Multiple files  Longint 1 Authorizes the simultaneous selection of several files using the key combinations Shift+click (adjacent selection) and Ctrl+click (Windows) or Command+click (Mac OS). In this case, the selected parameter, if passed, contains the list of all selected files. By default, if this constant is not used, the command will not allow the selection of multiple files.
Package open  Longint 2 (Mac OS only): Authorizes the opening of packages as folders and thus the viewing /selection of their contents. By default, if this constant is not used, the command will not allow the opening of packages.
Package selection  Longint 4 (Mac OS only): Authorizes the selection of packages as entities. By default, if this constant is not used, the command will not allow the selection of software packages as such.
Posix path  Longint 4 The documents array contains Posix format pathnames
Read and Write  Longint 0 Default mode
Read Mode  Longint 2  
Recursive parsing  Longint 1 The documents array contains all files and subfolders of the specified folder
Use sheet window  Longint 16 (Mac OS only): Displays the selection dialog box in the form of a sheet window (this option is ignored under Windows).
Sheet windows are specific to the Mac OS X interface which have graphic animation (for more information, refer to the Window Types section). By default, if this constant is not used, the command will display a standard dialog box.
Write Mode  Longint 1  
 
PROPERTIES 

Product: 4D
Theme: List of constant themes

 
SEE ALSO 

DOCUMENT LIST
Open document
Select document
Select folder
System Documents
Test path name