EasyManuals Logo

HP 40gs User Manual

HP 40gs
444 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #363 background imageLoading...
Page #363 background image
Programming 21-15
options use, or the program that defines the aplet’s
VIEWS menu.
You can include a “Start” option in the VIEWS menu
to specify a program that you want to run
automatically when the aplet starts. This program
typically sets up the aplet’s initial configuration. The
START option on the menu is also useful for resetting
the aplet.
Command syntax
The syntax for the command is as follows:
SETVIEWS
"Prompt1";"ProgramName1";ViewNumber1;
"Prompt2";"ProgramName2";ViewNumber2:
(You can repeat as many Prompt/ProgramName/
ViewNumber trios of arguments as you like.)
Within each Prompt/ProgramName/ViewNumber trio,
you separate each item with a semi-colon.
Prompt
Prompt is the text that is displayed for the corresponding
entry in the Views menu. Enclose the prompt text in
double quotes.
Associating programs with your aplet
If Prompt consists of a single space, then no entry appears
in the view menu. The program specified in the
ProgramName item is associated with the aplet and
transferred whenever the aplet is transmitted. Typically,
you do this if you want to transfer the Setviews program
with the aplet, or you want to transfer a sub-program that
other menu programs use.
Auto-run programs
If the Prompt item is “Start”, then the ProgramName
program runs whenever you start the aplet. This is useful
for setting up a program to configure the aplet. Users can
select the Start item from the VIEWS menu to reset the
aplet if they change configurations.
You can also define a menu item called “Reset” which is
auto-run if the user chooses the button in the APLET
view.
hp40g+.book Page 15 Friday, December 9, 2005 12:27 AM

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the HP 40gs and is the answer not in the manual?

HP 40gs Specifications

General IconGeneral
BrandHP
Model40gs
CategoryCalculator
LanguageEnglish

Related product manuals