PC SOFT

ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Home | Sign in | English EN
  • Element index
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
Deletes an element from a TreeMap control.
Example
// Supprime l'élément "Recettes\Dessert\Glace à la vanille"
TMAP_Recettes.Supprime("Recettes\Dessert\Glace à la vanille")
Syntax

Deleting a TreeMap element by specifying its subscript Hide the details

<TreeMap control>.Delete(<Element index>)
<TreeMap control>: Control name
Name of TreeMap control to use.
<Element index>: Integer
Subscript of element to delete. The function has no effect if this subscript does not correspond to a control element.

Deleting a TreeMap element by specifying its path Hide the details

<TreeMap control>.Delete(<Element path>)
<TreeMap control>: Control name
Name of TreeMap control to use.
<Element path>: Character string (with quotes)
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 with the <TreeMap>.Add function.
The separator of different path elements can be:
  • the "\" character. For example: "MyDirectory\MyFile".
  • the "TAB" character. For example: "Desserts"+TAB+"Ice cream".
Remarks

Element index

The subscript of the element is returned by the following functions:
Component: wd270obj.dll
Minimum version required
  • Version 23
This page is also available for…
Comments
Click [Add] to post a comment