PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

Home | Sign in | English US
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadApple WatchUniversal Windows 10 AppWindows Mobile
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 TreeMapAdd.
Example
// The TMAP_Wine control is filled from a table.
// Select the group corresponding to the type of wine selected in the table
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 TreeMap control to which the current process belongs will be used.
<Group Path>: Character string (with quotes)
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 has already been selected before using TreeMapSelectGroup, this group is automatically deselected.
  • The style of the selected group is defined in the "Style" tab of the description window of the TreeMap control.
Components
WINDEVReports and Queries wd230obj.dll
Minimum required version
  • Version 15
This page is also available for…
Comments
Click [Add] to post a comment