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 preset 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 oItem = pMe.Items("/Txt0");
var bVisible = oItem.Visible;   // Reading from the property

oItem.Visible = true;   // Writing into the property

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

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