Trail: PROIV Documentation > Developer > PROIV Developer > Developing Functions > Screen Cycle Process Points

The Event Process Points available for a Screen Cycle are: On Cycle Entry, Screen Mode, Sort/Select, EOD/Cancel, and On Cycle Exit.

On Cycle Entry.  Any logic associated with this Event Process Point is performed each time a cycle is entered.  It occurs before the format appears or a mode is set.

Screen Mode.  Any logic associated with this Screen Event Process Point is performed each time a cycle is entered and every time the mode (i.e. Add, Change, Delete, or Lookup) is changed.  Logic associated with this event process point is typically used for field initialisation and key conditioning.

Sort/Select.  Logic associated with this Event Process Point may be defined for a Paging Cycle only and is performed at sort time.  It is typically used to establish selection criteria for the sort.

On Cancel/Commit.  Logic associated with this Event Process Point is run when an EOD or CANCEL is triggered. This is caused by actions including but not limited to changing modes (from Add to Change) and changing rows on multi-line Paging Screens.

You can use the ABORT_EXIT logic command to override the exit that would normally be taken here.

On Cycle Exit:    Logic associated with this Event Process Point is performed (after all other processing for the cycle) just prior to exiting the cycle.  Exit Logic is typically used for setting communication variables and flags and other data manipulations.

Comment on this topic

Topic ID: 520155