Visible - property of the PmgObject object
Description:
Sets the visibility/invisibility of the Pmg object.
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 the
onModeChange event is triggered.
Example:
JavaScriptVBScriptSelect and copy to clipboard
var oItem = pMe.Items("/Txt0");
var bVisible = oItem.Visible; //reading
oItem.Visible = true; //writing
Dim oItem, bVisible
Set oItem = pMe.Items("/Txt0")
bVisible = oItem.Visible 'reading
oItem.Visible = true 'writing
History:
Pm8.03.26:
Fixed bug: Sometimes did not work if set by script or data binding.