Default Event

This document covers the following topics:


Applies To

Any dynamically created dialog element.

Description

Occurs whenever a non-suppressed event occurs for which no event handler section is specified. Also occurs whenever the end user triggers an event in a dynamically created dialog element. The default event handler section can be used to DECIDE which event (value of *EVENT) occurred for which dialog element (value of *CONTROL). For each particular dialog element and event, you can then specify the individual event handler code section.

A default event occurs, for example, if you issue SEND EVENT 'HUGO', but no such 'HUGO' event has been defined. Another example is that the event is not suppressed, but the event handler section is empty.