Language Reference Guide : Events : ChildPageDeactivated Event
 
Share this page          
ChildPageDeactivated Event
The ChildPageDeactivated event is triggered for a composite field when a child field receives a PageDeactivated Event.
This event has the following syntax:
on childpagedeactivated [compositefieldname]
compositefieldname is optional if you specify this event in a field script, or if the compositefield is the frame's top form.
The following attributes of the FrameExec class can be used in the ChildPageDeactivated event block:
TriggerField
Specifies the tabfolder field containing the TabPage being deactivated
Originator
Specifies the composite field specified in the initial on childpagedeactivated statement
Usage: The ChildPageDeactivated event is defined for all composite fields.
The ChildPageDeactivated event can be used to ensure that the TabPage is in a consistent state and to test whether any actions need to be taken based on changes to the page.
If a resume statement is used within a ChildPageDeactivated event, this causes a cancellation of the PageChanged event, and the same TabPage remains mapped.
More information:
TargetPageIndex Attribute