Was this helpful?
Move a Single Component
To move a form component
1. Position the cursor on the component to be moved and choose Move from the Form Layout menu.
The menu of Move operations appropriate for the selected component appears with the component highlighted in reverse video:
If the cursor is on a trim component, the entire component appears in inverse video.
If the cursor is on a table field or box, the corners of the field or box appears in inverse video.
If the cursor is on either a title or data field or a simple field, both parts appears in inverse video.
2. Relocate the cursor to the place where you want the component moved and choose the Place or Shift operation, as described in the following sections.
To center or justify a component in relation to the form margin, select the Center, Left, or Right operations, as described in Centering and Justifying Components.
If you move a component to the bottom of the form and there is not enough vertical space in the form to accommodate it, VIFRED automatically moves the bottom margin of the form down enough rows to allow the component to fit. The right margin, however, does not automatically move to the right to accommodate a moved component.
If you are not satisfied with the results of any Move operation, choose the Undo operation. Because Undo reverses the last operation performed, you must use the Undo operation before performing any other operation.
Use the Place Operation
To use the Place operation
1. Position the cursor on the component you want to move and choose Move.
2. Position the cursor where you want to place the beginning character of the component and choose Place.
If you are moving a table field or a box, position the cursor where you want to place the upper left corner of the component.
Except for boxes and lines, if the selected position for the component would cause it to overlap another component on the form, VIFRED adjusts the position of the other component, moving it to the right if possible, and moving it down if necessary. Otherwise, the Place operation does not preserve spacing between components.
The Place operation allows boxes and lines to overlap each other. However, boxes that you create around fields as field attributes, rather than as part of the Box/Line operation, cannot overlap.
Shift Operation
The Shift operation works the same way as the Place operation, except that it preserves spacing between components to the right.
If you shift a component to a spot where it overlaps some other component, you push the other component and all components to the right of it the same amount of space to the right. If there is not enough space to push the components to the right, VIFRED pushes one or more of them down.
Center and Justify Components
Use the Left, Center, and Right operations to position certain components to the far left, the center, or the far right of the form, respectively.
To use the Left, Center, or Right operation
1. Position the cursor on the component to be moved and choose the Move operation.
2. Choose the Left, Center, or Right operation. If you do not see the Left, Center, and Right operations when you choose the Move operation, they are not available for the component on which the cursor rests.
Move Titles and Display Windows
Normally a field's title and display window move as a unit. However, you can move them separately, if you want.
When you place the cursor on a simple field and choose the Move operation, the menu displayed at the bottom of your window contains two operations not found on Move menus for other components:
Title
Moves only the title.
Format
Moves only the format of the data window.
To move the field's components separately
Choose the Title operation to move only the title of a simple field.
Choose the Format operation to move only the format of the data display window of a simple field.
Once you choose either Title or Format, the Place and Shift operations apply only to the part of the field you have specified.
Last modified date: 04/03/2024