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

Limits

Remarks

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.

[VBA]

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

[Cicode]

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