2.9 Aligning Push Buttons

Now we can align the two Push button parts. The left border of the OK push button part must be aligned to the left border of the Static text part. The right border of the EXIT push button part needs to be aligned to the right border of the Entry field.

Follow these steps:

  1. Move the pointer above and to the left of the Static text part.
  2. Click and hold the left mouse button.
  3. Move the pointer so that the Static text part and the OK push button part are both covered by the gray rectangle.
  4. Release the left mouse button. The two selected parts are highlighted.
  5. Move the pointer to the Static text part, and then press the right mouse button to get the pop-up menu.
  6. Select the Align menu choice from the pop-up menu then select the left justification icon from the submenu. This action aligns the OK push button part to the left border of the Static text part.
  7. Next align the EXIT push button part with the Entry field part.

  8. Move the pointer above and to the left of the Entry field part.
  9. Click and hold the left mouse button.
  10. Move the pointer so that the Entry field part and the EXIT push button part are both covered by the gray rectangle.

  11. Release the left mouse button. The two selected parts are highlighted.
  12. Move the pointer to the Entry field part, and then press the right mouse button to get the pop-up menu.
  13. Select the Align menu choice from the pop-up menu then select the right justification icon from the submenu. This action aligns the Exit push button part to the right border of the Entry field part.
  14. You can align the two Push button button parts to each other horizontally in the same way that you aligned the Static text and Entry field parts.

    The Customer Inquiry window should now look like the following:

  15. Click on to indicate that you've done all the steps.