HandleFindKey - cWebView

Called by the client when a Find key is pressed

Type: Procedure

Parameters: Integer iKey Boolean bShift Boolean bAlt Boolean bCtrl

ParameterDescription
iKeyThe JavaScript key code of the pressed key
bShiftTrue if the Shift key was down
bAltTrue if the Alt key was down
bCtrlTrue if the Ctrl key was down


Syntax
Procedure HandleFindKey Integer iKey Boolean bShift Boolean bAlt Boolean bCtrl

Call: Send HandleFindKey iKey bShift bAlt bCtrl


Description

This published procedure is called by the client when a Find key is pressed.

It will perform the proper Find operation if pbFindKeys is set to True and the iKey matches the JavaScript key code for one the Find keys.

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.