PC SOFT

ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Home | Sign in | English EN
This content has been translated automatically. Click here to view the French version.
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac CatalystUniversal Windows 10 App
Others
Stored procedures
Returns the number of direct children for an element in a TreeView Table control.
Versions 27 and later
Android This function is now available for Android applications.
iPhone/iPad This function is now available for iPhone/iPad applications.
New in version 27
Android This function is now available for Android applications.
iPhone/iPad This function is now available for iPhone/iPad applications.
Android This function is now available for Android applications.
iPhone/iPad This function is now available for iPhone/iPad applications.
Example
// On veut compter le nombre de desserts présents dans la carte du restaurant
nNombreDessert is int
nNombreDessert = TableChildCount(TABLEH_Carte, "Desserts")
Info("Il y a actuellement: " + nNombreDessert + " disponibles.")
Syntax

Children of a row identified by its number Hide the details

<Result> = TableChildCount(<TreeView Table control> , <row Number>)
<Result>: entier
  • Number of children for the element.
  • -1 if the number of the specified row does not exist.
<TreeView Table control>: Control name
Name of TreeView Table control to use.
<row Number>: entier
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> , <Name of the branch>)
<Result>: entier
Number of children for the element
<TreeView Table control>: Control name
Name of TreeView Table control to use.
<Name of the branch>: Character string
Name of the branch for which the number of child elements must be calculated. This parameter has the following format:
"<Nom de la racine>" + TAB + ["<Nom du 1er noeud>" + TAB + ...
["<Nom du 2ème noeud>" + TAB + [...]]]"<Nom de la feuille>"
A WLanguage error occurs if this parameter does not correspond to an existing branch.
Business / UI classification: UI Code
Component: wd270obj.dll
Minimum version required
  • Version 18
This page is also available for…
Comments
Click [Add] to post a comment