ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / WLanguage functions / Controls, pages and windows / TreeMap functions
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
TreeMapCount (Function)
In french: TreeMapOccurrence
Returns the number of elements found in a TreeMap control.
Example
// Number of elements in TMAP_File
ResNumberElements = TreeMapCount(TMAP_File)
Syntax
<Result> = TreeMapCount(<TreeMap control>)
<Result>: Integer
Number of elements found in the TreeMap (0 if the control is empty).
Remark: All elements are taken into account (even the elements whose weight is 0).
<TreeMap control>: Control name
Name of TreeMap control to use.
If this parameter corresponds to an empty string (""), the control used will be the TreeMap control to which the current event belongs.
Remarks
The TreeMapCount function and the Count property are equivalent:
<Nb elements> = TreeMapCount(<TreeMap control>)
<Nb elements> = <TreeMap control>.Count
Component: wd290obj.dll
Minimum version required
  • Version 15
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 05/26/2022

Send a report | Local help