Determines whether every the pen across every pane in the Process Analyst control are locked together.
If the property get/set succeeds the return value will be Success. If the return variable is bad then the return value will be InvalidArgument.
While this property is enabled, any operation applied to the selected pen is applied to every pen. When the property is disabled, the pens will lose the lock logic, and any interaction technique will apply to the individual pen with selection focus.
If this property is disabled and then enabled, every pen assumes the same scale, timespan, and end time position as the selected pen.
Assumes you have a page called "myPage" and the Process Analyst has been named "AN35".
Dim locked As Boolean
`Get current locked status
locked = myPage_AN35.LockedPens
`Turn off locked Pens
myPage_AN35.LockedPens = False
OBJECT hProcessAnalyst = ObjectByName("AN35");
// Get current locked status
lockedPens = _ObjectGetProperty(hProcessAnalyst, "LockedPens");
// Turn off locked Pens
_ObjectSetProperty(hProcessAnalyst, "LockedPens", 0);