ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

This content has been translated automatically.  Click here  to view the French version.
Help / WLanguage / WLanguage functions / Controls, pages and windows / TreeMap functions
  • Element index
WINDEV
WindowsLinuxJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac Catalyst
Others
Stored procedures
TreeMapDelete (Function)
In french: TreeMapSupprime
Deletes an element from a TreeMap control.
Example
// Supprime l'élément "Recettes\Dessert\Glace à la vanille"
TreeMapDelete(TMAP_Recettes, "Recettes\Dessert\Glace à la vanille")
Syntax

Deleting a TreeMap element by specifying its subscript Hide the details

TreeMapDelete(<TreeMap control> , <Element index>)
<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.
<Element index>: Integer
Index of the element to be deleted. The function has no effect if this index does not correspond to a control element.

Deleting a TreeMap element by specifying its path Hide the details

TreeMapDelete(<TreeMap control> , <Element path>)
<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.
<Element path>: Character string
Path of element to delete. The function has no effect if this path does not correspond to a control element.
Remark: This path must be identical to the one used when adding the element to the TreeMap control using the TreeMapAdd function..
The separator of different path elements can be:
  • the "\" character. For example: "MyDirectory\MyFile".
  • the "TAB" character. For example: "Desserts "+TAB+"Crème brulée".
Remarks

Element index

The element index can be known by the functions:
Component: wd300obj.dll
Minimum version required
  • Version 15
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 03/28/2025

Send a report | Local help