HP Business BASIC/XL Reference Manual - HP 3000 MPE/iX Computer Systems - Edition 1 (32715-90001)

f- 1
Appendix F JOINFORM
JOINFORM Statements
JOINFORM is a FORMS/260 compatible forms package available in HP Business
BASIC/XL. The JOINFORM package cannot be accessed by any other languages
on the HP 3000. Use of JOINFORM is supported only on the HP150 and
HP239X Terminals. It is intended to provide an easy-to-use alternative
to VPLUS forms for HP260 users converting their applications.
OPEN FORM
OPEN FORM opens a form file. It tries to find
form_member_name
in
form_file_name
if a form file is specified. Otherwise it searches the
currently open, default form file. If the specified form exists, it is
displayed at the current cursor position. Form names are limited to
eight characters.
If a form is already active when OPEN FORM is executed, it is deactivated
and the new form is inserted at the cursor position.
The Keywords HOME, OVERLAY, APPEND, and FREEZE have no effect when a
JOINFORM is opened.
Syntax
[HOME ]
[OVERLAY]
OPEN FORM
form_name
[;] [FREEZE ]
[APPEND ]
Parameters
form_name Form_name
is a string expression with the following format:
form_member_name
[:
form_file_name
]
Form_member_name
is the name of the form you are opening.
Form_file_name
is a quoted string literal that is the name of
the file that contains the form.
HOME The HOME, OVERLAY, FREEZE, and APPEND options are ignored if
OVERLAY the form to be opened is a JOINFORM.
FREEZE
APPEND
Examples
130 OPEN FORM "Appl1"
140 OPEN FORM Form2
150 OPEN FORM Form$
160 OPEN FORM "form1:joinfile"
CLEAR FORM
CLEAR FORM clears all input and output field entries on the form. The
form is not drawn on the screen. The input, output, and cursor field
pointers are reset to the first input and first output field. The cursor
is placed in the first input field. If the form does not have input
fields, the cursor is placed in the left upper corner.
The optional keyword [ [WITH] DEFAULT[S] ] has no effect for converted
JOINFORM. It is ignored.
If there is no active form, CLEAR FORM returns an error.