Attribute Data Type:
Attribute Default Value:
Attribute Inherited from Preferences?
Attribute First Added:
Locks a note or (more usually) an adornment to the Map to avoid being moved inadvertently.
Primarily used in Map view (indeed, intended primarily for adornments), if $Lock is
true the note can be selected but not repositioned, i.e. $Xpos and$Ypos are locked. Nor can the item be re-sized (i.e. changing $Height or $Width).
A note with $Lock set cannot be drag-repositioned in other views, such as Outline. However, reflecting the fact $Lock is really designed for map use, the Note menu's Move Note Up/Down controls can be used to affect map icon stacking order. As that change the note's $OutlineOrder value (and thus its Outline view position), the View → Arrange menu and shortcuts do work.
The icons used for $Lock state can be customised.
The value of $Lock may be changed via:
- the Properties Inspector → More tab, 'Locked' tick-box.
- the note or adornment's Get Info → attributes (Locked in is the Map group of attributes)
- adornments only: when selected click the padlock icon. By default the padlock looks opened, if clicked (now locked) it changes to a closed padlock. Other map objects never show this icon.
- use action code to set $Lock
In map view, a drag (marquee) select ignores locked items. Locked map items show no re-sizing handle and no link-drag icon. Only adornments show the padlock icon (as above).