When an APPLY statement executes, logged messages contain the following information:

  • IdentifierAPPLY.
  • Event name — For example, LEAVE. For a keystroke, the entry includes the key name and associated event, if appropriate.
  • Widget information — Type (BUTTON, for example), name, and handle ID of the object, when available.
  • Routine name and line number — Name and line number of the routine (.p or .w file or method) and internal procedure, if appropriate, where the APPLY statement is. The line number is based on the Debugger listing file.

Here are some sample Format 4 log entries:

[05/10/31@13:00:00.098-0400] P-000001 T-000002 2 4GL PROEVENTS APPLY ENTRY 
BUTTON button-1 myproc myp.p Line 10
[05/10/31@13:00:00.098-0400] P-000001 T-000002 2 4GL PROEVENTS APPLY ENTRY 
BUTTON Handle:1987 myproc myp.p Line 10