Parameter | Description |
---|---|
iKey | The JavaScript key code of the pressed key |
bShift | True if the Shift key was down |
bAlt | True if the Alt key was down |
bCtrl | True if the Ctrl key was down |
Procedure HandleClearKey Integer iKey Boolean bShift Boolean bAlt Boolean bCtrl
Call: | Send HandleClearKey iKey bShift bAlt bCtrl |
This published procedure is called by the client when a Clear key is pressed.
It will perform the proper Clear operation if pbClearKeys is set to True and the iKey matches the JavaScript key code for one of the Clear keys.
Note that bCtrl is used to switch between a Clear and a Clear All.
JavaScript key codes need to be used to define which key we are handling. See http://www.cambiaresearch.com/articles/15/javascript-char-codes-key-codes to learn these.