PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

Home | Sign in | English US
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadApple WatchUniversal Windows 10 AppWindows Mobile
Others
Stored procedures
Returns the number of direct children for an element in a TreeView Table control.
Example
// Count the number of desserts found in the restaurant menu
nNumberDesserts is int
nNumberDesserts = TableChildCount(TABLE_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.
<TreeView Table Control>: Control name
Name of TreeView Table control to use.
<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 TreeView Table control to use.
<Branch Name>: Character string (with or without quotes)
Name of the branch for which the number of child elements must be calculated. This parameter has the following format:
"<Name of Root>" + 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.
Components
WINDEVReports and Queries wd230obj.dll
WEBDEV - Server code wd230page.dll
Linux wd230obj.so
Minimum required version
  • Version 18
This page is also available for…
Comments
Click [Add] to post a comment