Promotic

MouseOn - property of the PmgObject object

Description:
Identification if the mouse cursor finds itself over the Pmg object.
It can be used for differentiation of the Pmg object over which the mouse cursor finds itself.
Syntax:
Boolean MouseOn
Values:
true - mouse cursor is over the Pmg object
false - mouse cursor isn't over the Pmg object
Note:
Property access for read only.
 
The property returns the true value even in case of the invisible object. Thus this property can control not only the modification of the Pmg object appearance but even the visibility of the object.

This property is not functional yet in Web panels
This property is not functional for object: PmgRoot.

When this property is changed then the onModeChange event is triggered.
Example:
JavaScriptVBScriptSelect and copy to clipboard

var oObject = pMe.Items("/Txt0");
var bMouseOn = oObject.MouseOn;
PROMOTIC 9.0.27 SCADA system documentation MICROSYS, spol. s r.o.

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