4D v16.3

SET DOCUMENT PROPERTIES

Home

 
4D v16.3
SET DOCUMENT PROPERTIES

SET DOCUMENT PROPERTIES 


 

SET DOCUMENT PROPERTIES ( document ; locked ; invisible ; created on ; created at ; modified on ; modified at ) 
Parameter Type   Description
document  String in Document name or Full document pathname
locked  Boolean in Locked (True) or Unlocked (False)
invisible  Boolean in Invisible (True) or Visible (False)
created on  Date in Creation date
created at  Time in Creation time
modified on  Date in Last modification date
modified at  Time in Last modification time

The SET DOCUMENT PROPERTIES command changes the information about the document whose name or pathname you pass in document.

Before the call:

  • Pass True in locked to lock the document. A locked document cannot be modified. Pass False in locked to unlock a document.
  • Pass True in invisible to hide the document. Pass False in invisible to make the document visible in the desktop windows.
  • Pass the document creation date and time in created on and created at.
  • Pass the document last modification date and time in modified on and modified at.

The dates and times of creation and last modification are managed by the file manager of your system each time you create or access a document. Using this command, you can change those properties for special purpose. See example for the command GET DOCUMENT PROPERTIES.



See also 

GET DOCUMENT PROPERTIES
SET DOCUMENT CREATOR
SET DOCUMENT TYPE

 
PROPERTIES 

Product: 4D
Theme: System Documents
Number: 478

This command modifies the Error system variableThis command can be run in preemptive processes

 
HISTORY 

Created: 4D v6

 
ARTICLE USAGE

4D Language Reference ( 4D v16)
4D Language Reference ( 4D v16.1)
4D Language Reference ( 4D v16.2)
4D Language Reference ( 4D v16.3)