This method/property/event is considered obsolete and is functional only if the "Level of integration of panel viewer and the local application" configurator is set to full - FULL access from scripts to the whole application (only for VBScript and if the "Enable multiple opening of local panel" configurator IS NOT SET.
|pMe||(Object) Reference to the PmaPanel object where the event rises.|
|pEvent||(Object) Reference to object describing detailed information about the specific event.|
pEvent.Code - (Long) Pressed key code. In case of an ANSI character the value equals the char code, for the other codes see Keys constants.
In order to convert such numeric code into String the Pm.StringCodeFrom method can be used.
pEvent.Shift - (Boolean) Indication of concurrent pressing the Shift key.
pEvent.Alt - (Boolean) Indication of concurrent pressing the Alt key.
if (pEvent.Action == 1 && pEvent.Ctrl)
case 67: //Key C
//Close this panel
case 66: //Key B
//Some another action