Locked Property
The Locked property returns or sets locking an object's position. Returns a Boolean.
Syntax
object.Locked
object.Locked = Locked
Parameter | Type | Description |
Locked | Boolean | required, default is false (object position is not locked) |
Example
This example shows how to lock a rectangle's position.
Rectangle.Locked = True
Used by: AutoShape Object