Automation event support
- Last Updated: January 17, 2024
- 1 minute read
- OpenEdge
- Version 12.8
- Documentation
Automation event support
ABL supports event notification for ActiveX Automation objects with a built-in method that enables event notification for that specific component handle.
The following
syntax describes the ENABLE-EVENTS method for ActiveX
Automation objects:
Syntax
|
- event-proc-prefix
-
A
CHARACTERexpression representing a string prepended to every event received. The resulting string is the name of the internal procedure ABL runs in response to an event notification. During an event notification, all running procedures and all persistent procedures are searched to find a procedure with the name matching event-proc-prefix.eventname (for example, ExcelWB.SelectionChanged).For more information on managing Automation objects, see the sections on COM object management in Using COM Objects in ABL.
For information on ActiveX control event management, see ActiveX Control Support.