3 - 39
padPromptHexNumber
Displays a hexadecimal keypad and returns the entered hexadecimal number.
The user is prompted to enter a hexadecimal value. The prompt includes
“ENTER”, “CLEAR”, ”C”, “UNDO”, and “CANCEL” buttons. “ENTER” accepts
the numeric entry. “CLEAR” and “C” both clear the numeric entry. “UNDO”
removes the last digit entered. “CANCEL” exits the prompt. The numeric value
can have up to 17 digits. The result is returned as a text string containing the
digits entered. The illustration depicts the layout of a HEX number pad.
Syntax
BOOL padPromptHexNumber(
char *Title,
WORD MaxDigits,
char *Result
)
Parameter
Description
Title
Specifies the title of the displayed
hexadecimal number pad. It’s a pointer
to a null terminated character string.
MaxDigits
Maximum digits to be displayed
Result
Returns a variable length text string containing the number entered
Returns
Returns TRUE upon success, FALSE otherwise.
See Also
padPromptNum, padPromptNumber, padPromptReset, padPromptSignature, padPromptString, padPromptTimeout
padPromptNum
This command displays a numeric keypad and returns the entered number. The
user is prompted to enter a number whose value can range from 0 to 65,535. The
prompt includes “ENTER”, “CLEAR”, ”C”, “UNDO”, and “CANCEL” buttons.
“ENTER” accepts the numeric entry. “CLEAR” and “C” both clear the numeric
entry. “UNDO” removes the last numeric digit entered. “CANCEL” exits the
prompt. The illustration depicts the layout of a number pad.
Syntax
BOOL padPromptNum(
char *Title,
WORD *Result
)
Parameter
Description
Title
Specify the title of the displayed number
pad. It’s a pointer to a null terminated character string.
Result
Returns a 16-bit value representing the entered number.
Returns
Returns TRUE upon success, FALSE otherwise.
See Also
padPromptHexNumber, padPromptNumber, padPromptReset, padPromptSignature, padPromptString,
padPromptTimeout
Содержание PadCom TT1500
Страница 1: ... PadCom Point of Sale Terminal Control Library U s e r s G u i d e ...
Страница 88: ...4 2 ...
Страница 129: ......
Страница 130: ......
Страница 131: ......
Страница 132: ... PadCom UG Rev A 4619 Jordan Road P O Box 187 Skaneateles Falls New York 13153 0187 ...