Previous Topic: Remove eGolferNext Topic: Edit the Action Diagram


Make Adjustments

Follow these steps:

  1. Double-click the first literal, Update eGolfer Information, and change it to Remove eGolfer.
  2. Double-click the second literal, Your User ID…, and change it to Are you sure you want to be completely removed from our database?
  3. Double-click the User ID field and verify that the field is correctly mapped to the IMPORT GOLFER USERID and the EXPORT GOLFER USERID.
  4. The Password fields and the literals immediately before and after the passwords are not required. Click-and-drag from the left side of the To ensure… literal down to the right side of the All fields are required literal to create a rubber band effect to select both literals, the two passwords, and their two prompts all at once. Make sure nothing else is selected and then select the Delete icon from the Toolbar. Select the Yes push button to confirm.
  5. Double-click each of the remaining fields and verify that they are correctly mapped to the IMPORT and EXPORT GOLFER. Then un-check the Margin Box check mark and check the Read Only check box.
  6. To position the fields, select the User ID field (not the prompt). Then, with the Ctrl key held down, select the First Name field (once again, the field and not the prompt), the Last Name field, and the Email Address field. Then, from the Menu Bar, select Edit and then Position…. Next, select Align Vertically Left, select Separate Vertically by a Distance: of 5, select Arrange prompts against the fields, select Move Vertically Center, and then select the OK push button.
  7. Select the Review… literal and delete it.
  8. Double-click the update push button and change the Button Text: to delete. Check the Is the Default Push Button check box. Then select the Events… push button.
  9. Since we copied this dialog from the Update eGolfer dialog, it is still executing the update event. We want to disassociate the update event from this push button and add a new event to contain the delete logic.

    To do this, in the Defined Events panel, select Click UPDATE EGOLFER PB UPDATE CLICK, and then select the Remove push button. Notice that while this action removes the update event from the Defined Event list, it is still in the Event Details Action Name: list. Change the name to REMOVE EGOLFER PB DELETE CLICK and then select the Add push button to create and associate this new event to the push button. Select the Close push button, and then select the OK push button.

  10. With focus still on the delete push button, hold the Ctrl key down and select the cancel push button. Then right-click-and-drag them to roughly the position shown in the sample example earlier. Then, with focus still on both of them, from the Menu Bar select Edit, then Position…, then Move Horizontally Center, and then select the OK push button.
  11. Save your model.