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
Visually selects a group of elements in a TreeMap control. A group of elements is identified by its path. The path was specified when the element was added into the TreeMap control by <TreeMap>.Add.
Example
// The TMAP_Wine control is filled from a Table control.
// Select the group corresponding to the type of wine selected in the Table control
SelectionDirectory is string
SelectionDirectory = COL_WineType[TABLE_WINE]
TMAP_Wine.SelectGroup(SelectionDirectory)
Syntax
<TreeMap control>.SelectGroup(<Group path>)
<TreeMap control>: Control name
Name of TreeMap control to use.
<Group path>: Character string
Path of the group to select. The separator of different path elements can be:
  • the "\" character. For example: "MyDirectory\MyFile".
  • the "TAB" character. For example: "Desserts"+TAB+"Ice cream".
This path has been specified when adding the element in the TreeMap control with <TreeMap>.Add.
If this parameter corresponds to an empty string (""), no group is selected.
Remarks
  • If a group was already selected using <TreeMap>.SelectGroup, it is automatically deselected.
  • The style of the selected group is defined in the "Style" tab of the description window of the TreeMap control.
Component: wd290obj.dll
Minimum version required
  • Version 23
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 06/21/2023

Send a report | Local help