Please ensure Javascript is enabled for purposes of website accessibility
Powered by Zoomin Software. For more details please contactZoomin

AVEVA™ Plant SCADA

WinGetNextChild

  • Last UpdatedJul 18, 2023
  • 1 minute read

Gets the window number of the next child in a child link. This number can be used with other functions to control the window.

Syntax

WinGetNextChild(Window)

Window:

The window number of the previous child in the child link.

Return Value

The window number associated with the next child in the child link. If a window does not exist, –1 is returned.

WinGetFirstChild, WinNew, WinNewAt, WinNumber

Example

...

// Get the active window number

iParentWindowNum = WinNumber();

iFirstChild = WinGetFirstChild(iParentWindowNum);

iSecondChild = WinGetNextChild(iFirstChild);

iThirdChild = WinGetNextChild(iSecondChild);

...

See Also

Window Functions

In This Topic
Related Links
TitleResults for “How to create a CRG?”Also Available in