PLock

Changes the lock status of the selected objects.


Command constructor

PLock(PMBool bLockStatus);
false to unlock the position of selected objects
true to lock the position of selected objects
Text tool, story editor, or no selection. The PLock command has no affect when the text tool is selected, while in story editor, or when no objects are selected.

Locking freezes position and size, not attributes. Locking freezes the object position and size so that it cannot be deleted, moved, or transformed. The command does not lock other attributes of an object, such as the color, line style, and fill for PageMaker-drawn graphics, or point size and paragraph style for text within a text block. The following commands have no affect on locked objects: PCut, PClear, PCrop, PDelete, PMove, PNudge, PReflect, PResize, PResizePct, PRotate, and PSkew.

Inline graphics. Locking an inline graphic freezes the graphic's size and baseline, not its position on the page.

Example. The following example unlocks all the objects on the page.

PSelectAll();
PLock(false);


See also

The PGetLock query

Adobe PageMaker 6.5 Help > Commands > Arrange > Lock Position

Adobe PageMaker 6.5 Help > Commands > Arrange > Unlock


Copyright © 1996, Adobe Systems Incorporated. All rights reserved.

Comments or suggestions? Contact Adobe Developer Support