Try OpenEdge Now
skip to main content
Programming Interfaces
External Program Interfaces : ActiveX Control Support : Handling events : Handling ActiveX control events : Coding event procedures
 
Coding event procedures
When you create an OCX event trigger in the AppBuilder, the AppBuilder defines an internal procedure template with the following components:
*A procedure name that identifies the ActiveX control and event being handled
*Any required procedure parameter definitions with default mode and data type mappings
If you code OCX event procedures in external procedure files other than the one where you instantiate the ActiveX control, you must code the complete event procedure yourself. In addition, you must also add the procedure to the list that ABL searches to find event procedures to handle events. For more information, see Managingexternal procedure files.