Intermec 760 Betriebsanweisung

Seite von 82
64
iBrowse User’s Guide
MAXLENGTH
MAXLENGTH controls the maximum number of characters the user can 
enter into the edit box. If MAXLENGTH is reduced, any characters 
already in the edit box that exceed the new MAXLENGTH are ignored. 
JavaScript code can get and set this value.
Syntax
/*[out, retval]*/ short *pVal 
/*[in]*/ short newVal);
Example
Creates a single edit box allowing entries with a maximum of six characters.
<HTML>
<HEAD></HEAD>
<BODY>
EditBox1 <OBJECT ID=”IBEAX1” CLASSID=”CLSID:D8A6AACE-0F02-
4440-8F07-64CF68F33DE9” WIDTH=”50” HEIGHT=”25”>
<PARAM NAME=”MAXLENGTH” VALUE=”6”
</BODY>
<!- - OR - - >
<SCRIPT LANGUAGE=”JSCRIPT”>
IBEAX1.MAXLENGTH = 6;
</SCRIPT>
</HTML>
PASSWORD
PASSWORD indicates that the entered text is sensitive information, such 
as a password. If enabled, instead of showing the text entered, an asterisk 
( * ) is displayed in place of each character entered. JavaScript code can get 
and set this value. When password mode is enabled, the alignment is always 
left-aligned.
Syntax
/*[out, retval]*/ VARIANT_BOOL *pVal 
/*[in]*/ VARIANT_BOOL newVal);
Value
Action
0
No limit on the number of characters that can be entered (default)
Any positive, whole 
numeric value
Maximum number of characters allowed is set to the numeric 
value.
Value
Action
TRUE
Replace each character entered with an asterisk (*)
FALSE
Display the text as it is entered (default)