.NET event loop
- Last Updated: March 30, 2020
- 1 minute read
- OpenEdge
- Version 12.2
- Documentation
.NET event loop
An application must use the .NET event loop when there is a chance it might use GUI for .NET. Incorporating the .NET event loop into your ABL application is Step 4 in the following list of steps that are required to create and manage a .NET form:
-
Instantiate the form and its controls using the
NEWfunction for classes -
Initialize the form, together with its controls
-
Subscribe handlers to appropriate .NET events
-
Execute a .NET
WAIT-FORstatement, which calls an appropriate .NET input-blocking method for the form -
After the form closes and the
WAIT-FORstatement returns, do any post-form-closing tasks, such as resource clean-up, that your application might require
For more information about blocking on .NET forms, see Use GUI for .NET Objects in ABL Applications.