v4.0
Locks an object. The level passed to the method is used to determine which area to lock on the object.
ProjectItem.SetLock( [level] ); |
Parameter | Type | Description |
---|---|---|
level | siLockLevel | The level to lock. The lock level is a bit field, so it can be
only one level or a combination of many level or to have all
levels, use siLockLevelAll.
Default Value: siLockLevelAll |
// See the examples under ProjectItem.LockType, ProjectItem.LockLevel, and ProjectItem.IsLocked |