What is a form?
- Last Updated: March 30, 2020
- 1 minute read
- OpenEdge
- Version 12.2
- Documentation
Your GUI for .NET application will require the use of one or more types of
forms. A form is a representation of any window displayed in your application. ABL supports
several types of forms for building different types of applications. The OpenEdge .NET Progress.Windows.Form class can be used to create standard,
borderless, and floating windows. You can also use this class to create modal windows, such as
a dialog. A special kind of form, the Multiple Document Interface (MDI) form, can contain
other forms as child forms, including ABL windows.
The form types you choose to meet your application requirements determine the objects, controls, methods, and event handlers necessary to tie it all together.
In ABL a WINDOW widget is created using the CREATE
WINDOW statement. In this example the variable custWin contains
a handle to the newly created window:
|
A .NET form is similar to an ABL WINDOW widget.
In ABL a .NET form is typically an instance of the Progress.Windows.Form class
and is created using the NEW function. In this
example, FormObjectRef contains an object reference
to the new .NET form:
|