4D v17VP Export to object |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
4D v17
VP Export to object
|
VP Export to object ( vpAreaName ) -> Function result | ||||||||
Parameter | Type | Description | ||||||
vpAreaName | Text |
![]() |
4D View Pro area form object name | |||||
Function result | Object |
![]() |
4D View Pro object | |||||
The VP Export to object command returns the 4D View Pro object attached to the 4D View Pro area vpAreaName. You can use this command for example to store the 4D View Pro area in a 4D database object field.
In vpAreaName, pass the name of the 4D View Pro area. If you pass a name that does not exist, an error is returned.
For more information on 4D View Pro objects, please refer to the 4D View Pro object paragraph.
You want to get the "version" property of the current 4D View Pro area:
C_OBJECT($vpAreaObj)<br/>C_LONGINT($vpVersion)<br/>$vpAreaObj:=VP Export to object("vpArea")<br/> // $vpVersion:=OB Get($vpAreaObj;"version") <br />$vpVersion:=$vpAreaObj.version
Handling 4D View Pro areas
VP EXPORT DOCUMENT
VP IMPORT FROM OBJECT
Product: 4D
Theme: 4D View Pro Language
Number:
9029
Created: 4D v16 R4
4D View Pro Reference ( 4D v17)