Enabled - property of the PmaKey object
Description:
Enable/disable the keystroke function.
Values:
true - the key is functional, it is thus possible to invoke for example the
onKeyDown event of this object by its pressing
false - the event is not triggered (never)
Note:
Property access for read and write.
Example:
JavaScriptVBScriptSelect and copy to clipboard
var oKey = pMe.Pm("/Key");
var bEnabled = oKey.Enabled; //Reading the value
oKey.Enabled = true; //Writing the value
Dim oKey, bEnabled
Set oKey = pMe.Pm("/Key")
bEnabled = oKey.Enabled 'Reading the value
oKey.Enabled = true 'Writing the value