Detection of focus changes

Describes how to detect when the focus goes from field to field or to a read-only list.

Detecting focus changes in a singular INPUT or CONSTRUCT

An singular INPUT or CONSTRUCT controls several fields that can get the focus and become current. In order to execute some code when a field gets (or loses) the focus, use the following control blocks:

Detecting focus changes in a singular DISPLAY ARRAY

An singular DISPLAY ARRAY controls rows of a list, that can get the focus and become current. In order to execute some code when a row gets (or loses) the focus, use the following control blocks:

Detecting focus changes in a singular INPUT ARRAY

An singular INPUT ARRAY controls several fields and rows of a list, that can get the focus and become current. In order to execute some code when a field or a row gets (or loses) the focus, use the following control blocks:

Detecting focus changes in a DIALOG

A DIALOG interaction block can handle different parts of a form simultaneously. In order to execute some code when a part of the form gets (or loses) the focus, use the following control blocks:

These triggers are also executed by NEXT FIELD.