"childCount"

"childCount" returns the number of sub elements.

Synopsis

getValue(string shape, "childCount", int count);

Parameters

Parameter Description
shape Name of the object
count The number of sub elements

Description

"childCount" returns the number of sub elements.

Example

Returns the number of sub elements.

main()
{
  int h;
  getValue("TREE1","childCount",h);
  DebugN(h);
}

Assignment

Tree widget, DpTreeView