Step 2. Add the avSignalEvent to the Employee Details Command Handler

In this step you change the SAVE_BUTTON event in the Employee Details command handler.

1.   Locate and open the Employee Details command handler iiiCOM03.

2.   Display the Source tab.

3.   Locate the SAVE_BUTTON Click event.  Add the following code before the Endroutine:

#com_owner.avSignalEvent Withid(EMPLOYEE_CHANGED) Sendainfo1(#xEmployeeIdentification) To(FRAMEWORK)

 

 

 

You use the avSignalEvent method when there is an event you would like other components within the Framework to be notified about: 

 

4.   Compile the command handler.