PC SOFT

WINDEVWEBDEV AND WINDEV MOBILE
ONLINE HELP

Home | Sign in | English UK
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 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 (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.
Component : wd240obj.dll
Minimum version required
  • Version 15
This page is also available for…
Comments
Click [Add] to post a comment