Setfocus; Value - Intermec 730 User Manual

Intermec 730: user guide
Hide thumbs Also See for 730:
Table of Contents

Advertisement

iBrowse User's Guide
Example
Creates a single edit box to accept a password.
<HTML>
<HEAD></HEAD>
<BODY>
EditBox1 <OBJECT ID="IBEAX1" CLASSID="CLSID:D8A6AACE-0F02-
4440-8F07-64CF68F33DE9" WIDTH="50" HEIGHT="25">
<PARAM NAME="PASSWORD" VALUE="TRUE"
</BODY>
<!- - OR - - >
<SCRIPT LANGUAGE="JSCRIPT">
IBEAX1.PASSWORD = true;
</SCRIPT>
</HTML>

SETFOCUS

SetFocus sets the focus to a specific edit box. This function cannot pass as a
parameter; you must call it from JavaScript.
Syntax
/*[in]*/ VARIANT_BOOL bSelect);

Value

Action
TRUE
Focus is set to the desired edit box and the text is highlighted so it is
overwritten by the first key press.
FALSE
Focus is set to the desired edit box at the end of any existing text.
Example
Creates a single edit box and set focus to it.
<HTML>
<HEAD></HEAD>
<BODY>
EditBox1 <OBJECT ID="IBEAX1" CLASSID="CLSID:D8A6AACE-0F02-
4440-8F07-64CF68F33DE9" WIDTH="50" HEIGHT="25">
</BODY>
<!- - OR - - >
<SCRIPT LANGUAGE="JSCRIPT">
IBEAX1.SetFocus(1);
</SCRIPT>
</HTML>
VALUE
VALUE gets/sets text displayed in edit box. Use JavaScript to get/set the
value.
65

Advertisement

Table of Contents
loading

Table of Contents