4D v13

PV Document properties

Home

 
4D View v13
PV Document properties

PV Document properties 

 

 

Constant  Type Value Comment
pv column count  Longint 0 Allows setting or reading of the number of columns displayed in the area.
pv document modified  Longint 4 Allows setting or reading of the "modified" attribute of area. Associated values: pv value on or pv value off.
  • When this constant is used in write mode ( PV SET DOCUMENT PROPERTY command), passing pv value on in the value parameter will cause a warning dialog box to be displayed when the area is closed indicating that it has been modified. If the value parameter contains pv value off, and if the document is not modified subsequently by the user or by programming, this dialog box does not appear.
  • When this constant is used in read mode, using the PV Get document property command, the value returned is 1 if the document has been modified, and 0 otherwise.
pv no external call  Longint 3 Allows forbidding of calls to 4D variables, methods and commands in the formulas of the area. Associated values: pv value on or pv value off.
  • pv value on: calls to 4D variables, methods and commands are forbidden in the formulas (in this case, it is possible to use “PV Allows Input” theme commands to define which 4D objects can be called).
  • pv value off: calls to all 4D variables, methods and commands are allowed in the formulas (default value).
pv picture count  Longint 2 This constant is read-only ( PV Get document property command). It returns the number of pictures pasted into the area.
pv row count  Longint 1 Allows setting or reading of the number of rows displayed in the area.
 
PROPERTIES 

Product: 4D
Theme: Constant Theme List

 
SEE ALSO 

PV Get document property
PV SET DOCUMENT PROPERTY