If the window is defocused, then it can be seen, but it is inactive, therefore the information about key pressed is not transferred into such window. When the window is defocused, it usually changes the window header background color (if the window has one).
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 value 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. |
The pEvent parameter is not used here because this event does not need any additional information.