<MODAL>

<< Click to Display Table of Contents >>

Navigation:  Special tags (USER, <#PAGES>, <TIME-OUT>, <BUTTON>... >

<MODAL>

MODAL (or not) PREVIEW

 

The MODAL tag allows to preview the report on the screen in a non-modal mode.

 

Syntax:    <MODAL= NO>

 

Important:

MODAL=NO this call is translated into a call to vpxPrint.exe, displaying a non-modal preview window,

 

about_24_h Notes:

1.When using a <MODAL> tag, xPrint.dll is loaded and, after that, vpxPrint.exe is loaded into memory.
This results to the overhead of loading two times the vpxPrint procedures into memory. Calling vpxPrint.exe directly from the calling program with a shellExecute call can eliminate this overhead.

2.vpxPrint.exe must be in the WINDOWS path.

3.vpxPrint.exe does not support PDF export. It's done to avoid the destruction of previous files. See vpxcall, vpxwait or printFileEx() to create PDF files. Fixed in 10.46

4.about_24_h Version 10.46: in <MODAL=NO> mode, vpxPrint creates its own temporary file by copying the original file. This temporary file is automatically deleted after the .xpr file is rendered.