Try OpenEdge Now
skip to main content
GUI for .NET Programming
Accessing and Managing .NET Classes from ABL : Handling .NET events : Defining handlers for .NET events in ABL : Identifying the signature for an event handler on an OpenEdge .NET object
 
Identifying the signature for an event handler on an OpenEdge .NET object
To identify the signature required for any ABL method or procedure that you want to define as a handler for a .NET event on an OpenEdge .NET object:
1. Look up the object event that you want to handle in the OpenEdge documentation for the event (see the Class Events Reference section of OpenEdge Development: ABL Reference).
2. The syntax that introduces the event reference entry shows the required signature. For example, in the reference entry for the CreateRow event, this syntax appears:
EventHandlerName  
(INPUT sender AS CLASS System.Object,
    INPUT args AS CLASS Progress.Data.CreateRowEventArgs).
3. You can then define your event handler parameter accordingly.