Promotic

Visible - property of the PmgObject object

Description:
Sets the visibility/invisibility of the Pmg object.
Syntax:
Boolean Visible
Values:
true - object is visible
false - Otherwise
Note:
Property access for read and write. The default value of this property is defined in the "Visible" configurator of this object.
 
No "Refresh" is performed at the invisible object and all nested Pmg objects into it due to the optimization.

This property is also functional 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 bVisible = oObject.Visible;   // Reading from the property
oObject.Visible = true;   // Writing into the property

History:
Pm8.03.26: Fixed bug: Sometimes did not work if set in the script or by data binding.
PROMOTIC 9.0.27 SCADA system documentation MICROSYS, spol. s r.o.

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