2.2 Adding Static Text to the Window

Next, you add a static text part to the Customer Inquiry window. The static text part prompts the user to enter a customer number.

Follow these steps:

  1. Choose the Static text icon from the Parts Palette window.
  2. Click on this icon and move the pointer to the left-hand side of the Customer Inquiry window. Click the left-mouse button.
  3. To place several instances of the same part onto the canvas, select Options > Part creation > Point and click. Select the part you wish to use then click on the Sticky option on the Parts Palette. Move the pointer to the desired area on the canvas and click the left-mouse button and repeat as necessary. Once you are finished creating the parts, cancel the selection of the Sticky option on the Parts Palette.

  4. Double click on the text with the left-mouse button. The Properties notebook appears.
  5. Change the Text field on the General tab to Enter Customer Number
  6. Click OK to save and close the notebook.
  7. The Customer Inquiry window should now look like the following:

    Note: Only a portion of the text appears. The size setting for the Static text part is not large enough. You need to change the size of the Static text part. This will be discussed in the next lesson.

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