The PV SET PLUGIN PROPERTY command allows setting of the value of the generic 4D View plug-in property.
This command can be placed, for example, in On Startup Database Method. The defined property is immediately applied to all new 4D View areas.
The property parameter is set using the PV Plugin properties theme constants.
Pass the value to be set for the property in the value parameter. Its content will depend on the defined property.
The following table details the constants that can be used in both the property and value parameters:
Constant |
Type |
Value |
Comment |
pv button height |
Longint |
5 |
Allows defining of minimum height for areas included within 4D View. If less than this value, the area will be displayed as a button (the user simply clicks on the button to display the area as a full-size window). By default, 4D View areas are displayed as buttons if their height is less than 100 pixels. Associated values: height (in pixels). |
pv button width |
Longint |
4 |
Allows defining of minimum width for areas included within 4D View. If less than this value, the area will be displayed as a button (the user simply clicks on the button to display the area as a full-size window). By default, 4D View areas are displayed as buttons if their width is less than 150 pixels. Associated values: width (in pixels). |
pv confirm convert dialog |
Longint |
6 |
Allows displaying or removing of a conversion message when a 4D Calc 6.7 document is opened by 4D View. The displayed message is stored in 4D View resources. Associated values: 0 or 1.
- 0: the confirm message is not displayed.
- 1: the confirm message is displayed.
|
pv default columns count |
Longint |
2 |
Allows defining of default number of columns in new 4D View documents. This value can always be modified by the user or by programming. By default, new 4D View documents contain 256 columns. Associated values: number of columns. |
pv default rows count |
Longint |
3 |
Allows defining of default number of rows in new 4D View documents. This value can always be modified by the user or by programming. By default, new 4D View documents contain 8192 rows. Associated values: number of rows. |
pv load template on server |
Longint |
1 |
In Client/Server applications, allows loading of 4D View document templates from each client machine. By default, templates are loaded from the server. Associated values: 0 or 1.
- 0: templates are loaded from each client machine.
- 1: templates are loaded from the server.
|
pv write template on server |
Longint |
0 |
In Client/Server applications, allows writing of 4D View document templates on each client machine. By default, templates are written on the server. Associated values: 0 or 1.
- 0: templates are written on each client machine.
- 1: templates are written on the server.
|
We would like for all 4D View areas created in the base to be composed initially of 100 columns and 50 rows: