Language Reference Guide : Events : ChildScroll Event
 
Share this page          
ChildScroll Event
The ChildScroll event is triggered for a composite field when a child field receives a Scroll event.
This event has the following syntax:
on childscroll [compositefieldname]
compositefieldname is optional if you specify this event in a field script for a composite field, or if the composite field is the frame's top form.
The following attributes of the FrameExec class can be used in the ChildScroll event block:
TriggerField
Specifies the field that has been changed
OriginatorField
Specifies the field specified in the initial scroll statement
Usage: The ChildScroll event is defined for all composite fields.
The ChildScroll event lets users determine their location within a table field or viewport field. It notifies OpenROAD that the user has clicked the scroll bar.
More information:
OriginatorField Attribute
TriggerField Attribute