Try OpenEdge Now
skip to main content
Online Help
Introducing the Progress Developer Studio for OpenEdge Visual Designer : Concepts : Code associated with a Visual Designer component
 

Code associated with a Visual Designer component

The Visual Designer generates and maintains one class (.cls) file for each visual container that you design. This class contains the code needed to allow the ABL Virtual Machine (AVM) to display and enable the visual container. The code includes:
*A constructor and a destructor
*An InitializeComponent method that includes variable value assignments, property settings, and event subscriptions associated with the visual container
*An event method for each subscription
*A DoWait method that suspends program execution pending user action
Progress Developer Studio for OpenEdge synchronizes the ABL code with the Visual Designer display, so that changes made in either editor are immediately reflected in the other. However, it is recommended that you use the Visual Designer tools for all changes to the UI, and edit only application logic (for example, event logic) in the ABL Editor. In this way you can reduce the chance of introducing errors in the UI code.