RemoveKeyHandler - cWebBaseUIObject

Removes a client side key handler

Type: Procedure

Parameters: Handle hMsg Integer iKeyCode Boolean bShift Boolean bAlt Boolean bCtrl

ParameterDescription
hMsgThe message handle of a published procedure that will be called when the key event occurs
iKeyCodeJavaScript key code to handle
bShiftDetermines whether Shift key needs to be pressed to trigger event
bAltDetermines whether Alt key needs to be pressed to trigger event
bCtrlDetermines whether Crtrl key needs to be pressed to trigger event


Syntax
Procedure RemoveKeyHandler Handle hMsg Integer iKeyCode Boolean bShift Boolean bAlt Boolean bCtrl

Call: Send RemoveKeyHandler hMsg iKeyCode bShift bAlt bCtrl


Description

It is possible to assign custom key handlers to controls and containers. This is done by using the AddKeyHandler and RemoveKeyHandler procedures. These procedures are client actions and the administration of key handlers is kept on the client. This means that these procedures should be used after the control is available on the client or when it is loaded to the client. Common practice will be to call these procedures during the OnLoad event.

See AddKeyHandler for more information about key handlers.