HP Data Entry and Forms Management System (VPLUS) Reference Manual (32209-90024)

356 Chapter6
USING VPLUS INTRINSICS
INTRINSIC DESCRIPTIONS
setting the
comarea
item
showcontrol
as follows:
bit 15 = 1 Force form to be written to the terminal screen.
14 = 1 Force data and field enhancements to be written to the terminal screen.
13 = 1 Force window line to be written to the terminal screen.
Depending on the bits set, VSHOWFORM writes a form or data or the window to the terminal
whether or not it has changed. Anything that has changed is always written to the
terminal regardless of
showcontrol
. Any combination of these bits may be set. For
example, if you want to force a write of all data:
showcontrol
= octal 2
Or, if you want to force the window to be written:
showcontrol
= octal 4
Display and Local Form Storage
Prior to display on terminals with local form storage, the form can be loaded into the
terminal with any of the following methods:
by a call to VLOADFORMS,
by the previous call to VREADFIELDS if look-ahead form loading is enabled, or
•byVSHOWFORM if preload is enabled.
A prior call to VGETNEXTFORM reads the form into the form definition area of memory prior
to display by VSHOWFORM. The form definition includes the form image, any field editing
specifications and all enhancements.
The field enhancements are specified with the form definition. If a field has an error,
VSHOWFORM changes its enhancement to the error enhancement defined for the form by
FORMSPEC.
The data buffer may contain data as a result of initialization by VINITFORM, retrieval of
user-entered data by VREADFIELDS, data formatting or movement caused by editing
specified with each field and executed by VINITFORM, VFIELDEDITS, or VFINISHFORM.
Data may also be transferred directly to the data buffer, either from an application with
VPUTBUFFER or VPUTtype, or from a batch file with VREADBATCH.
The window contains any message set by VSETERROR or VPUTWINDOW.
00010
0
78
13 14 15
00100
0
78
13 14 15