Parameter Specification: Window, Child Object

All statements which can manipulate the window interface have the same parameter: 

Statement(windowID, childID)

Parameter
Parameter Description
windowID window identifier
childID child object and window identifier

Windows are only known inside the module. For an overview on window object - and other language element visibility for InstantView® please click here

Statements like this are used often, which makes it worth introducing a more comfortable notation. Here, one or both partners can be left out: 

Rule:  InstantView® replaces missing specifications by using the window object which has caused the statement execution.

Statement

refers directly to the 'activating window object'.

Statement(, childID)

refers to a child object, which is - with the 'activating window object' - in the same window. This window is a activator for statements in a window object Action List that is connected to a System Event. There is an activating window object for action list statements in a module, if the triggering statement  SendMsg is connected to a window object (also indirectly across multiple stages).
There is no activating window object, if action list statements in a module are connected with

             INITIALIZE 
             CURRENT 
             NON_CURRENT

This also applies to statements which can be triggered (directly or indirectly) by a SendMsg, which is connected to the events from above.

The keyword STACK can be indicated for both parameters (windowID, childID). Either the window/window object name or a CXI_WINDOW_OBJECT will be expected in the stack top (see Widget).
If STACK gets specified for both parameters, the window indication is expected before the child object indication.

Information:  To execute a statement for a group of window objects, it is necessary to pass a Vector for these window objects (or their names) in the stack.

Example: 
      [ "childName1", "childName2",  "childnameN" ] Hide(, STACK)
 

would make the vector window objects invisible.
Statement

      [ "child11", "child12" ] [ "child21" ] [ "win1", "win2" ] Show(STACK, STACK)
is semantically equivalent to  
      Show(win1, child11)
      Show(win1, child12)
      Show(win2, child21)