Download iBrowse User's Guide

Transcript
Appendix B
—
iBrowse Custom Edit Control
OnKeyUp
The OnKeyUp event is fired when a key on the physical or onscreen keyboard is released and the ITCAXEdit control has focus.
No return value is required.
Syntax
Void OnKeyUp((int key)
Parameter
Description
key
An Integer value that holds the ASCII code of the key pressed.
Example
When a key is released, 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=”OnKeyUp()”>
alert(’A key up was received’);
</SCRIPT>
</HTML>
iBrowse User’s Guide
93