Language Reference Guide : 5. Events : ChildSelectionChanged Event
 
Share this page                  
ChildSelectionChanged Event
The ChildSelectionChanged event indicates that there has been a change in the rows selected in a tablefield.
This event has the following syntax:
on childselectionchanged [tablefieldname]
tablefieldname is optional if you specify this event in a field script for a table field.
The following attributes of the FrameExec class can be used in the ChildSelectionChanged event block:
TriggerField
Specifies the table field that triggered the event
ReasonCode
Specifies the action that caused the event.
Use the CurFrame system variable to access these attributes. For more information, see FrameExec Class.
Usage: The ChildSelectionChanged event is defined for TableFields.
When no tablefield name is specified in the on event statement, the event occurs when there is a change in the rows selected for any TableField in the frame. When a TableField name is specified, the event occurs only when there is a change in the selected rows of the specified TableField.
More information:
TriggerField Attribute
ReasonCode Attribute