Visible - property of the PmgObject object
Description:
Visibility of the Pmg object.
Values:
true (default) - The Pmg object is visible.
false - The Pmg object is not visible.
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
Dim oObject
Set oObject = pMe.Items("/Txt0")
Dim bVisible
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.