Customized Sign-on [ HP ALLBASE/4GL Developer Administration Manual ] MPE/iX 5.0 Documentation
HP ALLBASE/4GL Developer Administration Manual
Customized Sign-on
You can display a customized logo window when an HP ALLBASE/4GL
application is run with the -l command line option. You can include the
-l option on the command line when you run HP ALLBASE/4GL, or edit the
hp4gl script to include the -l option.
The -l option takes two arguments: logo_screen and logo_application.
Logo_screen is the name of the window screen that you want to display on
the sign-on screen. Logo_application is the name of the application in
which logo_screen is defined. Logo_application must be preceded by a
colon (:). The -l option and its arguments are ignored if the -a and -u
options are used on the same command line.
The screen logo_screen must be a window. If it is a menu or a data
screen, HP ALLBASE/4GL ignores it and displays the standard HP
ALLBASE/4GL logo screen. Use the HP ALLBASE/4GL screen painter to create
the window. The screen cannot contain any data input or display fields,
and the only valid system items for this window are the *DATE and *TIME
communication area fields. Only lines 1 to 21 are displayed on the
screen. The top line of the window is displayed as the second line of
the sign-on screen (the Hewlett-Packard copyright notice and product part
number occupy the top line). If the custom window extends beyond line
13, HP ALLBASE/4GL may overwrite parts of the window when it displays the
user name/password and application name/password fields.
HP ALLBASE/4GL searches for logo_screen in the application
logo_application. If logo_screen does not exist in logo_application, HP
ALLBASE/4GL searches in the application HPlogo for logo_screen.
If logo_screen is not found in either of these applications, HP
ALLBASE/4GL searches for a window named logo in logo_application, and
then in the application HPlogo.
If you omit logo_screen from the command line, HP ALLBASE/4GL searches
for a window named logo. If you omit application_name from the command
line, HP ALLBASE/4GL only searches in the HPlogo application. If you use
the -l option with no arguments, HP ALLBASE/4GL searches for a window
named logo in the HPlogo application. If you do not specify the -l
option at all, HP ALLBASE/4GL uses the standard sign-on window.
MPE/iX 5.0 Documentation