WinStudio
IWSFormComponent interface, tree objects
Returns an integer indicating the number of child nodes found at a specific tree node.
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. |
For more information, see Notes on the Tree Node ID (GUID) and Index Series.
Dim childNodeCount as Integer = 0 childNodeCount = ThisForm.Components("tree1").TreeGetChildNodeCountAt("My Tree Node ID") childNodeCount = ThisForm.Components("tree1").TreeGetChildNodeCountAt("2,0")