ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / WLanguage properties / Properties associated with windows, pages and controls
  • Special case
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
The TotalNbChildren property returns the total number of children in a branch:
  • WINDEV of a Treeview control,
  • in a TreeView Table control.
Example
// List the children selected in the Treeview Table control
NbChildren is int = TVT_MyTable[TVT_MyTable].TotalNbChildren
FOR i = 1 TO NbChildren
Trace(TVT_MyTable[n + i])
END
Syntax
<Result> = <Element>.TotalNbChildren
<Result>: Integer
Total number of children.
<Element>: Character string
Element to use. This element can be:
  • WINDEV a Treeview control branch.
  • A branch of a TreeView Table control.
Remarks
WINDEV

Special case

If a procedure is associated with the branch via the AddChildDelayed property, the procedure is run.
Minimum version required
  • Version 19
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 05/26/2022

Send a report | Local help