Previous Topic: Get Scoring RecordsNext Topic: Add Push buttons


Lay Out the GUI Control Objects

We can now begin to layout the GUI data and non-data control objects of the window.

Follow these steps:

  1. In the Navigation Diagram, double-click eGolfer Home to bring up the dialog design. Double-click another dialog and resize eGolfer Home relative to the other dialog. Close the other dialog.
  2. With the eGolfer Home widow resized correctly, from the Menu Bar select Edit, then select Field Design….
  3. From the Field Design dialog, select EXPORT GOLFER FIRST_NAME, then select the Properties… push button. In the Entry Field Properties dialog, change the mapping property from [none] to IMPORT, add a new prompt named Welcome, un-check the Margin Box check box, check the Read Only check box, select the OK push button, and finally select the Place push button. Then place the prompt followed by the field in roughly the position indicated by the example shown earlier.
  4. Now, we want to change the default sizes for this field. First, select the prompt Welcome, then from the Toolbar select the Video Properties… icon. Uncheck the Automatic checkbox for Font and press the Select… pushbutton to bring up the Font dialog. Change the Font to Arial/Bold Italic/14, then select the OK push button. Resize the prompt so that you can see all of the text.
  5. Change the font for the entry field the same as in the last step. Do not worry if you cannot get the entire field to display. Leave room for the Group Box around the right-hand side.
  6. Repeat steps two through five for the EXPORT GOLFER HANDICAP INDEX, mapping it to the IMPORT GOLFER HANDICAP INDEX and adding the new prompt Your Handicap Index is. Do not forget to un-check the Margin Box check box and to check the Read Only check box. Change the fonts to Arial/Bold Italic/14.
  7. To add the group box around the golfer's information, select Add from the Menu Bar, and then select Group Box…. In the Group Box Properties panel, enter Personal Profile in the Text: field, and then select the OK push button. Place the group box just above the two push buttons. If you have multiple adds turned on, select the Cancel push button when prompted to add the second group box. Then, click-and-drag the edges of the group box with the cursor such that it encircles the golfer information as shown in the window example earlier.