Update cookies preferences
Promotic

Focus - property of the PmaPanel object

Description:
Sets/gets whether the window has the focus.
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.
Syntax:
Boolean Focus
Values:
true - the window has the focus
false - the window doesn't have the focus
Note:
Property access for read and write.
 
Only one window can be active at the moment in Windows OS (window that has the focus). This window as the only one receives impulses from the mouse and the keyboard. The window that has the focus, can be recognized by default by the window title bar (if any) has the flue background while other windows have in the window title bar the grey background.
See also:
- PmaPanel.Visible (property)
Example:
JavaScriptVBScriptSelect and copy to clipboard

var oPanel = pMe.Pm("/Panel");
var bEnabled = oPanel.Focus;   // Reading from the property
oPanel.Focus = true;   // Writing into the property
PROMOTIC 9.0.31 SCADA system documentation MICROSYS, spol. s r.o.

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