4D v13PV OPEN DOCUMENT |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
4D View v13
PV OPEN DOCUMENT
PV OPEN DOCUMENT
The PV OPEN DOCUMENT command opens in area the requested document. Pass in document the full path name of the document to open. If you pass an empty string ("") in this parameter, a standard open file dialog box appears and the user can select the document. If the user clicks Cancel in this case, no document will be opened. The template parameter allows you to set whether the document should be opened as a standard document (template=0) or as a template (template=1). Note: The "document" template mechanism is managed by the OS. It is different from the one used with 4D View "templates", attached to included areas (accessible using the Save as template menu command). For more information on area templates, refer to the 4D View User manual (PDF). Open a standard open file dialog box, applied to 4D View: PV OPEN DOCUMENT(Area;"";0) `Document choice
The Document variable system contains either the name or the access path and the name of the last disk file opened (see the 4D Language Reference manual, System Variables section). The system variable OK uses 1 as its value if the document was correctly opened. |
PROPERTIES
Product: 4D
INDEX HISTORY
Created: 4D View 6.8 SEE ALSO |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||