TreeGetChildNodeCountAtRoot method (WinStudio scripts)

Applies To

IWSFormComponent interface, tree objects

Definition

Returns an integer indicating the number of child nodes found at the top/root node.

Syntax

object.TreeGetChildNodeCountAtRoot( )

Part Description
object Required. A reference to a valid tree component object.

Example

Dim childNodeCount as Integer = 0
childNodeCount = ThisForm.Components("tree1").TreeGetChildNodeCountAtRoot()