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 |
- Configure the OK Button Event/Procedure
Procedure
-
Select the OK button
object.
- Open the Properties - Object dialog box.
- Create a Mouse Up Event.
- Create a new OK procedure.
-
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 - Click OK to close the dialog boxes.
-
Save the attrentry screen.
Result: the OK button is ready to be tested.
- Configure the Cancel Button Event/Procedure
-
Open the Properties dialog box for the CANCEL button
object.
- Create a Mouse Up Event.
- Create a new CANCEL procedure.
-
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 - Click OK to close the dialog boxes.
- Save the attrentry screen.
Results
the CANCEL button is ready to be tested.