4D v16.3Design Object Access Commands |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
4D v16.3
Design Object Access Commands
|
Command | Can be used in compiled mode |
Current method path | Yes |
FORM GET NAMES | Yes |
METHOD Get attribute | Yes |
METHOD GET ATTRIBUTES | Yes |
METHOD GET CODE | No (*) |
METHOD GET COMMENTS | Yes |
METHOD GET FOLDERS | Yes |
METHOD GET MODIFICATION DATE | Yes |
METHOD GET NAMES | Yes |
METHOD Get path | Yes |
METHOD GET PATHS | Yes |
METHOD GET PATHS FORM | Yes |
METHOD OPEN PATH | No (*) |
METHOD RESOLVE PATH | Yes |
METHOD SET ACCESS MODE | Yes |
METHOD SET ATTRIBUTE | No (*) |
METHOD SET ATTRIBUTES | No (*) |
METHOD SET CODE | No (*) |
METHOD SET COMMENTS | No (*) |
(*) The error -9762 "The command cannot be executed in a compiled database." is generated when the command is executed in compiled mode.
By default, no file is created on disk by 4D. However, pathnames generated for objects are compatible with the file management of the operating system; they can generate files directly on disk using your own import/export methods.
More specifically, forbidden characters such as ":" are encoded in method names. Generated files may be integrated automatically in a version control system.
Here are the encoded characters:
Character | Encoding |
" | %22 |
* | %2A |
/ | %2F |
: | %3A |
< | %3C |
> | %3E |
? | %3F |
| | %7C |
\ | %5C |
% | %25 |
Examples:
Form?1 is encoded Form%3F1
Button/1 is encoded Button%2F1
Product: 4D
Theme: Design Object Access
4D Language Reference ( 4D v16)
4D Language Reference ( 4D v16.1)
4D Language Reference ( 4D v16.2)
4D Language Reference ( 4D v16.3)