4D v12.4

System Documents

Home

 
4D v12.4
System Documents

 

System Documents 

 

Constant  Type Value Comment
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.
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  
Is a directory  Longint 0  
Is a document  Longint 1  
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.
Read and Write  Longint 0 Default mode
Read Mode  Longint 2  
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 

Open document
Select document
Select folder
System Documents
Test path name