Try OpenEdge Now
skip to main content
GUI for .NET Programming
Accessing and Managing .NET Classes from ABL : Handling .NET events : Managing .NET events from ABL-extended .NET classes
 

Managing .NET events from ABL-extended .NET classes

To more fully integrate .NET event management in an ABL application, you can also publish many .NET events in ABL-extended .NET classes, where you might:
*Publish some events inherited from a .NET super class using an inherited method that publishes each event.
*Implement and publish inherited .NET abstract events similar to implementing ABL abstract events
*Implement and publish events defined in .NET interfaces similar to implementing ABL interface events
You can also manage events published by private .NET controls by delegating the handling to public ABL events that you define and publish on their behalf. For example, you might create an ABL-derived .NET user control that privately contains other .NET controls. In such an ABL-derived user control, you can manage events on its privately contained .NET controls by handling all the events for these controls internally, and defining and publishing public ABL class events from your user control in their place. In this way, consumers of the ABL-derived .NET user control can receive just the events that the user control needs its consumers to handle rather than making its contained .NET controls public for its consumers to manage their events directly. For more information on .NET event management for ABL-extended .NET classes, see DefiningABL-extended .NET objects.