Previous Topic: Characteristics of Event HandlersNext Topic: Windows and Window Controls That Signal Events


Standards for Naming GUI Events

You should establish standards for naming event handlers.

CA Gen will produce a default name for events such as:

window/dialog box name_[control type]-[object name]_event

The convention used in this example is as listed next:

Both of these may be absent depending on the event, for example, Open, Close.

Some event name examples are shown next:

COLLECTIONS_OPEN
COLLECTIONS_MN_LIST_CLICK
ACCOUNTS_EF_JOURNAL_NUMBER_CHANGED

Using this or a similar convention, you can group the event handlers by window or dialog box. The window or dialog box name becomes very important and should follow the object action format to keep the procedure action diagram well organized and understandable.