void = MoveBoxVert(nFixedUnits)
This macro function moves a textbox vertically by nFixedUnits, without changing the box's size.
It is is a simultaneous call to MoveBoxTop and MoveBoxBottom ensuring that the height of the box remains the same all through the resizing and avoid potential occurrences of message 181645.
This function moves the textbox but has no effect on its size.
Non-Rotated Boxes
Looking at the XYWH measurements palette of QuarkXPress and InDesign, the effect of this function is to change the value of Y by nFixedUnits and leave the 3 other values unchanged.
Rotated Boxes
Textbox resizing functions only work on textboxes whose angle is a multiple of 90 degrees (0°, 90°, 180°, or 270°).
When using this function with QuarkXPress, you should not use this function on a rotated box. Instead you should rotate the text inside a non-rotated box, as explained in the gridtemplate construction guidelines.
When using this function with InDesign, it is the visual position of the box that is moved and therefore the changes to the values of XYWH will differ depending on the rotation of the box, ensuring that the visual result of this function is always the same.
See also: textbox resizing macro functions.
Topic 181660, last updated on 31-Jan-2025