Setting up a form or report design

When creating forms and reports, you can customize your settings to facilitate the design process. For example, you can specify the design window ruler's unit of measurement. You can apply tabs and margins to help you align text objects. You can also specify other designer preferences, such as displaying objects on the screen with frames.

In this section, you'll learn about

  customizing the design window rulers
  
  customizing the design window grid
  
  changing margins, text alignment, and line spacing
  
  adding, moving, and deleting indent and tab markers
  
  setting designer preferences
  
Customizing the design window rulers

Paradox lets you customize the rulers that display in the form design window and the report design window. You can use horizontal and vertical rulers to place, resize, or move design objects. In addition, you can display an expanded ruler, which is used in combination with the horizontal ruler to help you edit and format text objects. You can use it to adjust margins, tabs, line spacing, and text alignment.

After you set preferences, every time you open a new form or report the default rulers are displayed. You can override these settings for the current document after you are in a form or report.

To display rulers

  With a form or report open in the design window, click View  Ruler.
  
Note

  When you select a design object, the rulers change color to indicate the object's placement and size.
  
To display the expanded ruler

1	With a form or report open in the design window, click Format  Design setup.

2	Enable the Expanded ruler check box.

Note

  You must have the ruler in view to be able to see the expanded ruler. To view the ruler, see "To display rulers."
  
To specify default rulers for the design window

1	Click Format  Design setup.

2	In the Ruler area, enable one or more of the ruler check boxes.

This change only affects the current document.

Customizing the design window grid

You can display a grid in the design window to align design objects on the page. The grid is a background of horizontal and vertical lines, including major gridlines and minor grid ticks. Lines represent the grid's major divisions, and dots represent the grid's minor divisions. You can also specify the unit of measurement of the grid. The unit of measurement used by the grid is the same as the unit of measurement displayed in the ruler. For example, if metric measurements are used in the ruler, the grid increments are metric as well.

To display the grid

  With a form or report open in the design window, click View  Grid.
  
To change the unit of measurement of the grid

1	Click Tools  Settings  Preferences.

2	Click the Designer tab.

3	In the Grid area, choose a unit of measurement from the Grid list box.

4	Type values in the following boxes:

  Major divisions-specifies the distance between major gridlines
  
  Minor divisions-specifies the distance between minor gridlines
  
Tip

  If the grid is visible in the report design window, you can right-click a band and choose Move grid to band to reorient the grid at the top-left corner of the band.
  
Changing margins, text alignment, and line spacing

The default margins of text are the left and right borders of the selected text object, which you can change to meet your margin requirements. By default, text is aligned along the left margin, but you can align text at the left or right margin, down the center of the text object, or at both the left and right margins. You can also change the spacing between lines of text.

To change a margin

1	With a form or report open in the design window, click a text object.

If the ruler is not visible, click View  Ruler.

2	Click inside the text object.

The margin icon will displays above the ruler.

3	Drag the margin icon to the tab well location you want.

To change text alignment

1	With a form or report open in the design window, click a text object.

2	Right-click the text object, and click Properties.

3	Click the Text tab.

4	In the Alignment area, enable one of the following options:

  Left
  
  Center
  
  Right
  
  Justify
  
Tip

  You can change the text alignment by clicking one of the following alignment buttons on the text formatting toolbar: left, center, right, and full.
  
To change line spacing

1	With a form or report open in the design window, click a text object.

2	Right-click the text object, and click Properties.

3	Click the Text tab.

4	In the Spacing area, enable one of the line spacing options.

Note

  The default spacing is single-spaced.
  
Tip

  If you have the expanded ruler enabled, you can change the line spacing for the selected text by clicking the line spacing button on the expanded ruler.
  
Adding, moving, and deleting indent and tab markers

Paradox lets you move indent markers by using the expanded ruler. You can also add tab and move tab markers in the design window by using the expanded ruler. For information about displaying the expanded ruler, see "To display the expanded ruler." If you don't add any tabs, default tab settings are applied and you can't move or delete them. However, you can move and delete the tabs you add.

To use tabs

Click this tab	To do the following

	Push the text following the tab marker to the right so that its left edge lines up under the tab marker.

	Push the text following the tab marker to the left so that its right edge lines up under the tab marker.

	Center the text under the tab marker.

	Align columns of figures at the decimal point. The decimal points line up under the tab marker.

To move an indent marker

1	With a form or report open in the design window, click a text object.

If the ruler is not visible, click View  Ruler.

2	Click inside the text object.

3	Drag the indent marker to a new location in the tab well.

Note

  When the indent marker is placed to the right of the margin marker, the paragraph is indented. When the indent marker is placed to the left of the margin marker, the paragraph is outdented.
  
To add a tab marker

1	With a form or report open in the design window, click Tools  Settings  Preferences.

2	Click the Designer tab.

3	In the Ruler area, enable the Expanded ruler check box.

4	Click View  Ruler.

5	Click a text object.

6	Place the cursor inside the text object.

7	Click a Tab on the Expanded ruler.

8	Click the tab well to place the tab marker.

To move a tab

1	With a form or report open in the design window, click a text object.

If the ruler is not visible, click View  Ruler.

2	Place the cursor inside the text object.

3	Drag the tab to a new location in the tab well.

To delete a tab

1	With a form or report open in the design window, click a text object.

If the ruler is not visible, click View  Ruler.

2	Place the cursor inside the text object.

3	Drag the tab away from the ruler.

Note

  You cannot delete default tabs. However, if you add a tab, all the default tabs to the left of the tab are removed. To override all the default tabs, place a tab near the right margin.
  
Setting designer preferences

Paradox lets you set designer preferences when designing forms and reports. You can specify that a contained object is selected on the first click. For example, suppose you have an object, which consists of an ellipse contained within a box. By default, when you click the object, the outermost object, in this case the box, is selected first. Even if you click the ellipse, you are selecting the box. To select the ellipse, you have to double-click the object. However, you can specify that the contained object is selected when you click it.

You can also specify to display objects in the design window with frames. When you specify to have objects display with frames, a dotted line displays around the object. This is a useful option if you have objects that do not have a clear outline.

Another designer preference you can choose is to minimize screen flickering. When you move or resize objects, you may notice that the screen flashes. This is especially noticeable when a design has a dark background. You can minimize screen flickering, but it can cause the movement or resizing of objects to be slower.

Changing the designer preferences has no effect on an open form or report. You must close the document and then reopen it to use the new default preference settings.

To select a contained object on the first click of the mouse button

1	Click Tools  Settings  Preferences.

2	Click the Designer tab.

3	Enable the Select from inside check box.

Tips

  You can also select a contained object by double-clicking an object contained by another object.
  
  When you select an object contained by another object, you can press ESC to select the next outermost object. For example, if you select an ellipse within a box, press ESC to select the box.
  
To display objects on the screen with frames

1	Click Tools  Settings  Preferences.

2	Click the Designer tab.

3	Enable the Frame objects check box.

If you want to display an outline of an object as you move or resize it, enable the Outlined move/resize check box.

To minimize screen flickering

1	Click Tools  Settings  Preferences.

2	Click the Designer tab.

3	Enable the Flicker-free draw check box.




