[<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
+---------------------------------+
|             WCHILD              |
+---------------------------------+
WCHILD([<window name1> | <expN1>])

-----------------------------------
Returns number and names of child windows.
Return value - Character or Numeric
-----------------------------------

<window name1>
        Parent window name.

<expN1>
        0 for bottom child window, non-zero for remaining child windows.  If
you use WCHILD() again with a non-zero value, the name of next child
window in the stack is returned and so on.  If WCHILD() is called more
times than the number of child windows in the child window stack, the
null string is returned.  See ACTIVATE WINDOW for more information on
window stacking.

If the desktop (screen) is active, all windows are children of the
screen.  A series of WCHILD() functions with non-zero values return the
names of any active windows.

You can also include a specific <window name>.  If you include a
specific window name with <expN1>, WCHILD() returns the names of the
child windows stacked in the window you include. If you include both a
window name and <expN>, separate the window name and <expN> with a
comma.

-----------------------------------

See Also:  ACTIVATE WINDOW, DEFINE WINDOW, WPARENT()

-----------------------------------

See Also: ACTIVATE WINDOW DEFINE WINDOW WPARENT()
This page created by ng2html v1.05, the Norton guide to HTML conversion utility. Written by Dave Pearson