TreeGetChildNodeCountAt method (WinStudio scripts)
Applies To
IWSFormComponent interface, tree objects
Definition
Returns an integer indicating the number of child nodes found at a specific tree node.
Syntax
object.TreeGetChildNodeCountAt( string )
Part | Description |
---|---|
object | Required. A reference to a valid tree component object. |
string | Required. The tree node ID (GUID) or node index series. |
Example
Dim childNodeCount as Integer = 0
childNodeCount = ThisForm.Components("tree1").TreeGetChildNodeCountAt("My Tree Node ID")
childNodeCount = ThisForm.Components("tree1").TreeGetChildNodeCountAt("2,0")