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
TreeMapSelectGroup (Function)
In french: TreeMapSelectGroupe
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 TreeMapAdd.
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]
TreeMapSelectGroup(TMAP_Wine, SelectionDirectory)
Syntax
TreeMapSelectGroup(<TreeMap control> , <Group 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.
<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 TreeMapAdd.
If this parameter corresponds to an empty string (""), no group is selected.
Remarks
  • If a group was already selected using TreeMapSelectGroup, 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 15
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 05/26/2022

Send a report | Local help