8.4. Apply the ADDPARTS_DONE Point to the attrentry.cim Screen

About this task

Open the attrentry CimEdit screen

The OK and CANCEL buttons can now be configured with event/actions.

A Configure the OK Button Event/Procedure
B Configure the Cancel Button Event/Procedure
  1. Configure the OK Button Event/Procedure

Procedure

  1. Select the OK button object.
  2. Open the Properties - Object dialog box.
  3. Create a Mouse Up Event.
  4. Create a new OK procedure.
  5. Add the following two actions in the Procedure Information dialog box.
    A Action Type Absolute setpoint
    Point ID ADDPARTS_DONE
    Value 1
    Confirmed Checked
    B Action type CloseScreen
    Confirmed Clear
  6. Click OK to close the dialog boxes.
  7. Save the attrentry screen.

    Result: the OK button is ready to be tested.

    1. Configure the Cancel Button Event/Procedure
  8. Open the Properties dialog box for the CANCEL button object.
  9. Create a Mouse Up Event.
  10. Create a new CANCEL procedure.
  11. Add the following two actions in the Procedure Information dialog box.
    A Action Type Absolute setpoint
    Point ID ADDPARTS_DONE
    Value 0
    Confirmed Checked
    B Action type CloseScreen
    Confirmed Clear
  12. Click OK to close the dialog boxes.
  13. Save the attrentry screen.

Results

the CANCEL button is ready to be tested.