Using the grid and the ruler in a DataWindow object

The DataWindow painter provides a grid and a ruler to help you align controls.

StepsTo use the grid and the ruler:

  1. Select Design>Options from the menu bar.

    The Report Options dialog box displays. The Alignment Grid box contains the alignment grid options.

  2. Use the options as needed:

    Option

    Meaning

    Snap to Grid

    Make controls snap to a grid position when you place them or move them.

    Show Grid

    Show or hide the grid when the workspace displays.

    X

    Specify the size (width) of the grid cells.

    Y

    Specify the size (height) of the grid cells.

    Show Ruler

    Show a ruler. The ruler uses the units of measurement specified in the Style dialog box. See “Changing the DataWindow object style”.

    Your choices for the grid and the ruler are saved and used the next time you start PowerBuilder.