Progress.Windows.UserControl class
(Windows only; GUI for .NET only)A control container class that lets you combine and use a set of user-defined controls as a single control in ABL.
Constructors
Super ClassSystem.Windows.Forms.UserControl class (from the .NET Framework)
InterfacesThis class does not implement interfaces (beyond those it inherits from its base class).
Public
Properties
This class does not contain properties (beyond those it inherits from its base class).Public
Methods
This class does not contain methods (beyond those it inherits from its base class).Public
Events
This class does not contain events (beyond those it inherits from its base class).ExampleThe following example shows a simple class that creates a user control container that contains a text box and a button:
The following class instantiates this user control and adds it to a form:
To instantiate DemoUserControlForm and display the form with the user control, you can run a procedure that contains the following code:
For more examples, see the chapter on creating and using forms and controls in OpenEdge Development: GUI for .NET Programming.
Notes
- Once you have created an instance of a control container and added your existing controls to the container, you can add the container instance to a form as you would any single control. The controls included in the control container are displayed when the form is displayed.
- For more information on using this control container class, see the chapter on creating and using forms and controls in OpenEdge Development: GUI for .NET Programming.
- For information on the public class members inherited from the System.Windows.Forms.UserControl class, refer to the .NET Framework class library.
See also
OpenEdge Release 10.2B
|