Update cookies preferences
Promotic

onFocusOut - event of the PmaPanel object

Description:
The event is triggered after the panel gets lost the focus (the panel leaves to be active).
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 title bar background color (if the window has one).
This method/property/event is considered obsolete and is functional only if the "Level of integration of the 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.
Parameters:
pMe(Object) Reference to the PmaPanel object where the event rises.
pEvent(Object) Reference to an object describing detailed information about the specific event.
The pEvent parameter is not used here because this event does not need any additional information.
Note:
Caution: The window can also be defocused if you enter the ActiveX objects (PmgActiveX) or the Windows objects. These objects are considered subwindow and their activation causes superior window to defocus.
See also:
- PmaPanel.Focus (property)
Example:
JavaScriptVBScriptSelect and copy to clipboard

Pm.Debug("onFocusOut");
PROMOTIC 9.0.29 SCADA system documentation MICROSYS, spol. s r.o.

Send page remarkContact responsible person
© MICROSYS, spol. s r.o.