4D v13.4

SET DOCUMENT PROPERTIES

Home

 
4D v13.4
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.

 
PROPERTIES 

Product: 4D
Theme: System Documents
Number: 478

This command modifies the Error system variable

 
INDEX

Alphabetical list of commands

 
HISTORY 

Created: 4D v6

 
SEE ALSO 

GET DOCUMENT PROPERTIES
SET DOCUMENT CREATOR
SET DOCUMENT TYPE