Enabled - property of the PmgObject object
Enable/disable any control, i.e. user entry to the object or its subobjects.
oItem.Enabled = b
true - object captures events triggered by the user (by clicking the mouse, pressing the key, etc.)
false - object doesn't capture any event that is triggered by the user
Property access for read and write
. The preset value of this property is defined in the "Control enabled
" configurator of this object.
This property is also functional in Web panels
If this property is changed the onModeChange
event is triggered.
var oItem = pMe.Items("/Txt0");
oItem.Enabled = true;
: Fixed bug
: Sometimes did not work if set by script or data binding.