fgl_buffertouched()

Returns TRUE if the input buffer was modified in the current field.

Syntax

fgl_buffertouched()
  RETURNS INTEGER

Usage

The function returns TRUE if the input buffer has been modified after the current field was selected (i.e. got the focus).

Call this function in AFTER FIELD, AFTER INPUT, AFTER CONSTRUCT, ON KEY, ON ACTION blocks.

This function is not equivalent to FIELD_TOUCHED(): The modification status of fgl_buffertouched() is reset when entering a new field, while FIELD_TOUCHED() returns TRUE when a field was modified during the interactive instruction.