4D View v14PV SET DOCUMENT PROPERTY |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
4D View v14
PV SET DOCUMENT PROPERTY
|
PV SET DOCUMENT PROPERTY ( area ; option ; value ) | ||||||||
Parameter | Type | Description | ||||||
area | Longint |
![]() |
4D View area | |||||
option | Longint |
![]() |
Property number | |||||
value | Longint |
![]() |
Property value | |||||
The PV SET DOCUMENT PROPERTY command sets the value of the property set by option for the 4D View document in area.
The PV Document properties constants are used to define the option parameter:
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.
|
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 row count | Longint | 1 | Allows setting or reading of the number of rows displayed in the area. |
This generic method allows setting the number of columns and/or rows for a new 4D View area (during form load, for example).
PV SET DOCUMENT PROPERTY(Area;pv column count;10) `10 columns
PV SET DOCUMENT PROPERTY(Area;pv row count;20) `20 rows
This method, associated for example with a 4D View document close button, allows never displaying the alert dialog box indicating that the area has been modified:
If(PV Get document property(Area;pv document modified)#0)
PV SET DOCUMENT PROPERTY(Area;pv document modified;0) `0 = unchanged, 1 = changed
End if
Product: 4D View
Theme: PV Document
Number:
15985
Created: 4D View 6.8
4D View Language ( 4D View v11.4)
4D View Language ( 4D View v12)
4D View Language ( 4D v13)
4D View Language ( 4D View v14 R2)
4D View Language ( 4D View v14)
4D View Language ( 4D View v14 R3)
4D View Language ( 4D View v14 R4)