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 PROMOTIC object where the event rises.|
|pEvent||(Object) A referrence 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 And pEvent.Ctrl Then
Select Case pEvent.Code
Case 67 'Key C
'close this panel
Case 66 'Key B
'some another action