Using the Process Analyst > Process Analyst for Developers > Automation Model > ITrendCursor.LabelsLocked [Property][Get/Set]

ITrendCursor.LabelsLocked [Property][Get/Set]

Get or Set whether the cursor label positions are locked.

Defined As



If labels are locked, they will not move when the cursor position is changed.

Calling Syntax

This example assumes you have a valid reference to a cursor.


Sub Example(cursor As Object)
Dim labelsLocked As Boolean
`Getting Property value
labelsLocked = cursor.LabelsLocked
`Setting Property value (False)
cursor.LabelsLocked = False
End Sub


FUNCTION Example(OBJECT hCursor)
INT labelsLocked;
// Getting current property value
labelsLocked = _ObjectGetProperty(hCursor, "LabelsLocked");
// Setting Property to False (0)
_ObjectSetProperty(hCursor, "LabelsLocked", 0);