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


(Windows only; Graphical interfaces only)
Removes an external procedure from the list that the AVM searches for event procedures to handle an ActiveX control event.
Return type: LOGICAL
Applies to: CONTROL-FRAME widget


REMOVE-EVENTS-PROCEDURE ( procedure-handle )
A handle to a persistent procedure or an otherwise active procedure on the call stack.
After removing the handle to an external procedure containing an event handler, the equivalent event procedure found in the next procedure in the search list handles the event. For information on this search list, see the ADD-EVENTS-PROCEDURE( ) method reference entry.
If the method succeeds in removing the procedure file from the list, it returns TRUE. Otherwise, it returns FALSE.