Try OpenEdge Now
skip to main content
Online Help
Introducing the ABL Editor : Tasks : Writing ABL code : Writing object-oriented code : Adding events
 
Adding events
You can add events to a class as follows:
1. Choose Source > Add Event to launch the Add Event wizard.
2. Fill in the appropriate information for the new event. Help text appears in the title pane to describe the purpose of the field that has focus.
3. Click Generate. Progress Developer Studio for OpenEdge inserts the event at the place specified in the Insertion position field. You have the following options:
*Alphabetical order - Insert the code prototype at a position determined by its name. Case is ignored.
This feature does not sort the procedures, functions, methods, or properties that already exist in the file. If they are already ordered alphabetically by name, the code is inserted at the correct position in the list. Otherwise, the code is inserted at the first valid alphabetic position found during a top-to-bottom lookup.
*Cursor position - Insert the code prototype at the current position of the cursor in the file.
*First/Last - Insert the code prototype immediately before/after the first/last item currently in the class.
*After name - Insert the code prototype after the named item.