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.
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;
Dim oObject
Set oObject = pMe.Items("/Txt0")
Dim bMouseOn
bMouseOn = oObject.MouseOn