Try OpenEdge Now
skip to main content
GUI for .NET Programming
Accessing and Managing .NET Classes from ABL : Supported features and limitations : Support for .NET classes
 

Support for .NET classes

ABL provides syntax and additional OpenEdge .NET classes to support the following general features of .NET classes and their access in an ABL session:
Note: For information on restrictions, see Limitations of support for .NET classes.
*.NET class instances — ABL allows you to directly instantiate supported .NET classes using the ABL NEW functions and statements. For more information, see Instantiating and managing .NET class instances.
*.NET class members — ABL supports access to both instance and static members of .NET classes, including fields (data members), properties, methods, and events (see Accessing .NET class members).
*.NET data types — ABL supports mappings to most .NET data types, with some limitations (see Using.NET data types in ABL). This includes support for accessing .NET object types, including the various kinds of class and interface types that .NET supports.
*Handlers for .NET events — In a GUI session (WebClient or full GUI client), ABL allows you to process .NET object events by subscribing an ABL class-based method or internal procedure as a handler for a given .NET event. You use the same mechanism for responding to .NET events as you use for responding to ABL class events (see Handling .NETevents).
*.NET exceptions — ABL transparently handles .NET exceptions as ABL-raised ERROR conditions or as ABL-thrown error objects. So, .NET exceptions behave within the ABL application like any ABL error (see Handling.NET exceptions).
*ABL-extended .NET classes — ABL allows you to create ABL-extended .NET classes by defining ABL classes that inherit from .NET protected or public classes (including abstract classes) or by implementing .NET public interfaces, which ABL interfaces that you define can also inherit (see DefiningABL-extended .NET objects).
*.NET forms and ABL data — In a GUI session (WebClient or full GUI client), ABL provides extended support for creating, visualizing, and managing .NET forms (see Creating and Using Forms and Controls) and for binding ABL data to .NET controls on those forms (see BindingABL Data to .NET Controls).
*.NET forms and ABL windows — ABL allows .NET forms and ABL windows to display and operate in the same ABL session, and also allows the client area of any ABL window to be embedded in the client areas of .NET forms in a manner that allows you to interact with the embedded ABL widgets using native ABL widget management features (see Using.NET Forms with ABL Windows).
*.NET sets — ABL provides support for a variety of .NET controls to use with .NET forms (see OpenEdgeInstalled .NET Controls)