Example 1 Suppose a window w_ancestor has an event ue_process. A descendent window has a script for the same event.
This statement in a script in the descendant searches the event chain and calls all appropriate events. If the descendant extends the ancestor script, it calls a script for each ancestor in turn followed by the descendent script. If the descendant overrides the ancestor, it calls the descendent script only:
EVENT ue_process( )
This statement calls the ancestor event only (this script works if the calling script belongs to another object or the descendent window):
w_ancestor::EVENT ue_process( )
Example 2 You can use the pronoun Super to refer to the ancestor. This statement in a descendent window script or in a script for a control on that window calls the Clicked script in the immediate ancestor of that window.
Super::EVENT Clicked(0, x, y)
Example 3 These statements call a function wf_myfunc in the ancestor window (presumably, the descendant also has a function called wf_myfunc):