14. VIFRED Form Components : Create Operation : Boxes and Lines : Box/Line Operation or Attribute Boxes
 
Share this page                  
Box/Line Operation or Attribute Boxes
The Simple Fields Attributes operation allows you to automatically place a box around a simple field. Similarly, the FormAttr operation allows you to automatically place a box around a pop-up style form. These automatic box operations have no connection to creating a box with the Create Box/Line operation.
You can use the Create Box/Line operation instead of the automatic operations to place boxes around simple fields or pop-up style forms if you want. By using the Box/Line operation, you are able to specify the display attributes of the box; the automatic operations do not have that capability.
You can also use the Create Box/Line operation to place a box around a field that has been automatically enclosed by a box already, or to place a box immediately inside the border of a pop-up style form. In this case the field or form would then be displayed with two boxes, one nested within the other.
Create a Box or Line
To create a box or line
1. Place the cursor where you want one of the corners of the box to be and choose the Create operation.
The original cursor location that marks one corner of the box is displayed with a flashing plus sign (+).
2. Choose the Box/Line operation.
The following message displays:
Move cursor to position the opposite
corner (press <MENU KEY> when done)
The NewLine operation inserts a new blank line into the form at the cursor location.
To create a visible line, choose the Box/Line operation.
3. Move the cursor to where you want the diagonally opposite corner of the box to be.
For example, if the plus sign marks the upper left corner of the box, move the cursor to where you want the lower right corner to be. The locations of other form components do not matter, with one exception. If you position the diagonal corner so that part of the box's line passes through another component, that portion of the box line is hidden behind the other component.
To form a vertical line, place the cursor directly above or below the original cursor mark. This creates a box that has vertical length and a horizontal width of 1. To create a horizontal line, place the cursor to the right or left of the original cursor mark. This creates a box that has horizontal width and a vertical height of 1.
4. Press the Menu key.
Lines connecting the two corners of the box appear on your form.
To set display attributes of the box, or to change its size, see the following section.
To move a box or line, use the Move operation, described in Move Operation. To delete a box or line, use the Delete operation, as described in Delete Form Components.