|
|
|
|
|
TableChildCount (Function) In french: TableFilsOccurrence Returns the number of direct children for an element in a TreeView Table control. // Count the number of desserts found in the restaurant menu nNumberDesserts is int nNumberDesserts = TableChildCount(TVT_Menu, "Desserts") Info("There are: " + nNumberDesserts + " on the menu.")
Syntax
Children of a row identified by its number Hide the details
<Result> = TableChildCount(<TreeView Table control> , <Row number>)
<Result>: Integer - Number of children for the element.
- -1 if the number of the specified row does not exist.
<TreeView Table control>: Control name Name of the TreeView Table control to be used. <Row number>: Integer Number of row for which the number of child elements will be calculated.
Children of a row identified by its path Hide the details
<Result> = TableChildCount(<TreeView Table control> , <Branch name>)
<Result>: Integer Number of children for the element <TreeView Table control>: Control name Name of the TreeView Table control to be used. <Branch name>: Character string Name of the branch for which the number of child elements must be calculated. This parameter has the following format:
"<Root name>" + TAB + ["<Name of 1st node>" + TAB + ... ["<Name of 2nd node>" + TAB + [...]]]"<Leaf name>" A WLanguage error occurs if this parameter does not correspond to an existing branch. Business / UI classification: UI Code
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|