Aligning controls with each other

You can align selected controls by their left, right, top, or bottom edges or their horizontal or vertical centers.

NotePainterBars in the Window painter The Window painter has three PainterBars. PainterBar1 includes buttons that perform operations that are common to many painters, including save, cut, copy, paste, and close. PainterBar2 includes buttons used with the Script view. PainterBar3 contains buttons that manipulate the display of the selected control or controls. The tools used to align, resize, and adjust the space between controls are on a drop-down toolbar on PainterBar3.

StepsTo align controls:

  1. Select the control whose position you want to use to align the others.

    PocketBuilder displays handles around the selected control.

  2. Press and hold the Ctrl key and click the controls you want to align with the first one.

    All the selected controls have handles on them.

  3. Select Format>Align from the menu bar, or select the Layout drop-down toolbar in PainterBar3.

  4. Select the dimension along which you want to align the controls.

    PocketBuilder aligns all the selected controls with the first control selected.