Try OpenEdge Now
skip to main content
ABL Reference
Handle Attributes and Methods Reference : ENABLE-EVENTS( ) method
 

ENABLE-EVENTS( ) method

(Windows only)
Enables event notification for automation objects.
Return type: CHARACTER
Applies to: Automation Object

Syntax

ENABLE-EVENTS ( event-proc-prefix )
event-proc-prefix
A character-string expression that the AVM prepends to event names. The resulting string is the name of the internal procedure the AVM runs when an event is fired. 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).