Tutorial for Designer/2000
and Developer/2000


Lesson 9, page 3

  1. We will now create radio buttons for the FTPT_Status to give the user an option of creating either Full-Time or Part-Time.

  2. To do this, right click on the FTPT_Status field in the canvas view and go to its Property palette. (See Figure 9.18)

    Figure 9.18

    Figure 9.18: Selecting the Property Palette for the FTPT_Status field

  3. Change the item type from text to Radio Group and set the initial value to either FT or PT. Close the Property Palette by clicking the close button on the upper right hand corner. (See figure 9.19)

    Figure 9.19

    Figure 9.19: The Property Palette for FTPT_Status

  4. Once you return back to the canvas, you will realize that the data field for the FTPT_Status is no longer visible. This is because we have specified it to be a radio group and not a text item. To see them, we will have to insert radio buttons. Select radio button from the tool palette on your left. (See Figure 9.20)

    Figure 9.20

    Figure 9.20: The palette with the icon for the radio buttons

  5. Drop the radio button into the canvas. Immediately a window will appear, prompting you to select the radio group you would like to attach this radio button to. Select the radio group FTPT_Status. (See Figure 9.21)

    Figure 9.21

    Figure 9.21: The Window for Attaching the radio button to a radio group

  6. Now right click on the radio button and go to its Property Palette. Change the label of the button to 'Full_Time', change background color to gray and give the radio button a value of FT. (See Figure 9.22)

    Figure 9.22

    Figure 9.22: The Property Palette for the radio button

  7. In the same manner create a second radio button, attach it to the radio group FTPT_Status, give it a label of 'Part-Time' and a value of PT.

  8. Select a rectangle from the palette and draw it around the radio buttons. (See Figure 9.23)

    Figure 9.23

    Figure 9.23: The Rectangle Icon in the palette

  9. Go to the properties for the rectangle frame by right clicking on it, and change the fill pattern to none. (See Figure 9.24)

    Figure 9.24

    Figure 9.24: Selecting the Property Palette for the rectangle frame

  10. Now, click on the rectangle frame and select Format->Bevel->Lowered to format the frame. (See Figure 9.25)

    Figure 9.25

    Figure 9.25: Formatting the Rectangle Frame around the radio buttons

  11. You can now test your form by selecting Program->Run Form. Your form with the newly created radio buttons should now look like Figure 9.26.

    Figure 9.26

    Figure 9.26: The form with the newly created radio buttons

  12. We will now create a drop-down poplist for the variable Start_Sem that will contain four entries: Fall, Spring, Summer 1 and Summer 2. To do this, go to the Property Palette for the Start_Sem and change its item type from text to list items, and select type of list as poplist. (See Figure 9.27). Close the Property Palette to return to the Canvas View by clicking on the close button in the upper right hand corner

    Figure 9.27

    Figure 9.27: The Property Palette for List Item

  13. Click on the List Elements tab and type in the list elements and list values. In this lesson, the list elements and values will be same and will be Fall, Spring, Summer 1 and Summer 2. (However, in the values, Summer1 and Summer2 should be typed in without spaces). (See Figure 9.28)

    Figure 9.28

    Figure 9.28: The Window for the List Elements

  14. Now go to Programs-> Run Form to view your newly created Poplist. (See Figure 9.29)

    Figure 9.29

    Figure 9.29: Window with the Poplist on Start_Sem

On to page four

Page 1, Page 2, Page 3, Page 4 / Back to the tutorial index.


Main Page About the Book Student Resources Oracle Resources Instructor Resources Contact Us

1999 Prentice-Hall, Inc., A division of Pearson Education, Upper Saddle River, New Jersey 07458 Legal Statement
Comments should be directed to webmaster@prenhall.com