Try OpenEdge Now
skip to main content
ABL Reference
Class Properties and Methods Reference : GetEvent( ) method
 

GetEvent( ) method

Returns a Progress.Reflect.Event instance describing the class event that matches the specified conditions. If there is no matching event, the method returns the Unknown value (?).
Return type: Progress.Reflect.Event class
Access: PUBLIC
Applies to: Progress.Lang.Class class

Syntax

GetEvent ( INPUT event-name AS CHARACTER )

GetEvent ( INPUT event-name AS CHARACTER,
INPUT flags AS Progress.Reflect.Flags )
event-name
A CHARACTER expression that evaluates to the name of the event.
flags
A Progress.Reflect.Flags instance indicating the access mode(s), scope(s), and/or class level(s) the returned event must have. See Progress.Reflect.Flags enumeration for more information.

Notes

*If there are one or more overrides of any particular event, the Progress.Reflect.Event instance describes the override from the most derived subclass that overrides that event.
*GetEvent(event-name) only returns public, non-static events. GetEvent(event-name, flags) does return ABL class events defined as static, protected, and/or private if they satisfy the specified conditions.
*This method does not return .NET class events defined as private or internal.