4D v14.3

System Documents

Home

 
4D v14.3
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.
Document unchanged  Longint 0 No processing
Document with CR  Longint 3 Line breaks are converted to OS X format: CR (carriage return)
Document with CRLF  Longint 2 Line breaks are converted to Windows format: CRLF (carriage return + line feed)
Document with LF  Longint 4 Line breaks are converted to Unix format: LF (line feed)
Document with native format  Longint 1 (Default) Line breaks are converted to the native format of the operating system: CR (carriage return) under OS X, CRLF (carriage return + line feed) under Windows
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
Document to text
Open document
Select document
Select folder
System Documents
Test path name
TEXT TO DOCUMENT

 
ARTICLE USAGE

4D Language Reference ( 4D v12.4)
4D Language Reference ( 4D v14 R3)
4D Language Reference ( 4D v14 R2)
4D Language Reference ( 4D v13.5)
4D Language Reference ( 4D v14.3)
4D Language Reference ( 4D v14 R4)

Inherited from : System Documents ( 4D v11 SQL Release 6)