Specifications

Section 10. Custom Keyboard Display Menus
10-3
Parameter
& Data Type
Enter
MenuName
Text
The text that will be shown as the heading for the custom menu. The string is
limited to 20 characters, and it should be enclosed in quotation marks.
AddtoSystem
Constant
This constant determines if the custom menu is a sub menu or replaces the
standard menu..
Value Result
0 Upon power up, a starting window is displayed. When a key is
pressed, the system menu will be displayed. The custom menu will
appear as a submenu to the system menu
-1 Upon power up, a starting window is displayed. When a key is
pressed, the custom menu will be displayed. The system menu will
appear as a submenu to the custom menu.
-2 Upon power up, the custom menu is displayed. The system menu
will appear as a submenu to the custom menu.
DisplayValue ("MenuItemName", Expression)
Used to define the menu text and associated Variable or Data Table field to be
displayed in the custom menu.
The MenuItemName parameter is the text that will appear on the left of the line
in the custom menu. Up to 10 characters will be displayed along with the value
of the source. The name should be enclosed in quotation marks. The
expression must be a variable or a field from a data table. Values displayed
using DisplayValue cannot be edited.
Note: DisplayValue does not allow the keyboard operator to change the value.
Use MenuItem to display a variable and allow the operator to change the value.
Parameter
& Data Type
Enter
MenuItemName
Text
The text that will be shown as the heading for the custom menu. The
string is limited to 20 characters, and it should be enclosed in quotation
marks.
Expression
Variable or
TableName.Field
Defines the value from a data table (tablename.fieldname) or variable to
be displayed, or any valid expression. When displaying a variable, the
table name (public) is not included.
MenuItem ("MenuItemName", Variable)
Used to display the value of a variable and allow the user to change the value.
Text can be displayed in place of a numeric value if MenuPick is used to create
a pick list of constants. The constants must be defined in the program.
The MenuItemName parameter is the text that appear on the left of the line in
the custom menu. The name is limited to 20 characters, but only 10 characters
will be displayed when the variable value is shown (the entire 20 characters
will be shown when the value is edited). MenuItemName should be enclosed
in quotation marks.