7.115.2 SIGNAL Examples

This statement signals a custom-defined Button_1_Clicked event.

SIGNAL Event(Button_1_Clicked)

This statement signals that the Employee_Created event has been triggered and it passes the employee number of the new employee to an owner form.

SIGNAL Event(employee_created) this_emp(#empno)

An owner form can respond to this event using an event routine:

EVTROUTINE Handling(#FormB.employee_created) this_emp(#TheValue)

Set Com(#empno) Value(#TheValue)

ENDROUTINE