Scroll Event
The Scroll event is triggered after the user has clicked a scroll bar for a table field or a viewport.
This event has the following syntax:
on scroll [tablefield | viewportfield]
The following attributes of the FrameExec class can be used in the Scroll event block:
TriggerField
Specifies the field that has been changed
OriginatorField
Specifies the field specified in the initial scroll statement
Usage: The Scroll event is defined for table fields and viewport fields. For scroll bar fields, use the on Click event and test the value of the scroll bar.
The Scroll event lets users determine where they are located within a table field or viewport field. (For more information, see
TableField Class (see
TableField Class) and
ViewportField Class (see
ViewportField Class).) It can be used to enforce particular views of the data or field being scrolled.
More information: