Onkeydown - Intermec 730 User Manual

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

Advertisement

iBrowse User's Guide
Syntax
Void LostFocus(void)
Parameter
Description
void
No parameters
Example
When the edit control loses focus, display an alert.
<HTML>
<HEAD></HEAD>
<BODY>
EditBox1 <OBJECT ID="IBEAX1" CLASSID="CLSID:D8A6AACE-0F02-
4440-8F07-64CF68F33DE9" WIDTH="50" HEIGHT="25">
</BODY>
<SCRIPT LANGUAGE="JSCRIPT" FOR="IBEAX1"
EVENT="OnLostFocus()">
alert('The control just lost focus');
</SCRIPT>
</HTML>

OnKeyDown

The OnKeyDown event is fired when a key on the physical or onscreen
keyboard is pushed and the ITCAXEdit control has focus. No return value
is required.
Syntax
Void OnKeyDown(int key)
Parameter
Description
key
An integer value that holds the ASCII code of the key pressed.
Example
When a key is pressed display an alert.
<HTML>
<HEAD></HEAD>
<BODY>
EditBox1 <OBJECT ID="IBEAX1" CLASSID="CLSID:D8A6AACE-0F02-
4440-8F07-64CF68F33DE9" WIDTH="50" HEIGHT="25">
</BODY>
<SCRIPT LANGUAGE="JSCRIPT" FOR="IBEAX1"
EVENT="OnKeyDown()">
alert('A key down was received');
</SCRIPT>
</HTML>
69

Advertisement

Table of Contents
loading

Table of Contents