Using the skills and knowledge you learned in Exercise 2 let's create a Parts Inquiry screen. We won't show you all the steps precisely because you are already familiar with them from Exercise 2. In fact if you need to, you can follow the same steps in Exercise 2 to design the Parts Inquiry window with some minor changes for things like the title of the window. Let's get started.

Follow these steps:

  1. Create a new project for the Parts Inquiry window. Select Project then New from the Menu bar. A new Canvas with window appears.
  2. Change the part name of the window to PARTINQ, the title of the window to Parts Inquiry and the border of the window to thin.
  3. Add a Static text part to the window and change the the text for the part to Enter Part Number.
  4. Resize the Static text part using the sizing handles so that you can see the entire text name for the part.
  5. .
  6. Add an Entry field part to the right of the Static text part Enter Part Number.
  7. Change the part name to PARTNO, the length of the data to 7 and the range for the data to 0000000 for the minimum value and 9999999 for the maximum value.
  8. Horizontally align the two parts.
  9. Add two push button parts using the sticky option. Call one OK and the other EXIT. For the OK push button remember to change the part name to PSBOK and make it the default button when the Enter key is pressed. For the EXIT push button change the part name to PSBEXIT.
  10. Align the OK push button to the left border of the Static text part called Enter Part Number using the left justification icon. Align the EXIT push button to the right border of the Entry field part using the right justification icon.
  11. Save the Parts Inquiry window into the same project as the Customer Inquiry window.
  12. Your completed Parts Inquiry window should look like the following: