PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

Home | Sign in | English US
  • Overview
  • Window control
  • Creating a TreeMap control
  • Characteristics of the TreeMap control
  • Description window of control
  • Vocabulary associated with the TreeMap control
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
Overview

Window control

The TreeMap control is used to dynamically represent data, possibly in tree structure, in a balanced way.
To fill this control, all you have to do is specify:
  • the element name.
  • possibly, the tree path of element.
  • the element weight.
This type of control is very useful to represent volumes of data in an intuitive way.
Creating a TreeMap control
To create a TreeMap control:
  1. In the window editor:
    • select "Insert .. Control .. TreeMap control".
    • click . This icon is found in the toolbar of controls (all you have to do is click "Other").
    On the "Creation" pane, in the "Graphic controls" group, click "TreeMap".
  2. Click the position where the control will be created in the window. The control is automatically created.
Versions 20 and later
Note: The dimensions of created control are optimized in order to occupy the available space at the specified position. If the control size does not suit your, press [CTRL + Z]: the default control size will be restored.
New in version 20
Note: The dimensions of created control are optimized in order to occupy the available space at the specified position. If the control size does not suit your, press [CTRL + Z]: the default control size will be restored.
Note: The dimensions of created control are optimized in order to occupy the available space at the specified position. If the control size does not suit your, press [CTRL + Z]: the default control size will be restored.
To display the control characteristics, select "Description" from the popup menu of control. The TreeMap control can be handled by programming via the TreeMap functions. To display the control characteristics, select "Description" from the popup menu of control. The TreeMap control can be handled by programming via the TreeMap functions (or the TreeMap functions (object syntax)).
Characteristics of the TreeMap control

Description window of control

The description window of TreeMap control is used to enter the display characteristics of the control.
The "General" tab is used to select:
  • the display mode of the caption for the control elements: caption on the elements or on the groups of elements.
  • the content of the information caption for the weighting.
The "GUI" tab is used to authorize the selection in the control (this option is proposed by default).
The "Style" tab is used to define the font options, the color options and other options regarding the different TreeMap elements.

Vocabulary associated with the TreeMap control

To handle a TreeMap control, you must be familiar with the following vocabulary:
NameDefinition
ElementElement displayed in the TreeMap control.
Element pathThe path of an element corresponds to the path and caption of the element displayed in the TreeMap control. Using a path when adding the element into the TreeMap control enables you to organize the elements and to group them.
Group of elementsSet of elements that use a common path.
WeightingWeight of the element displayed in the TreeMap control. This weighting can be displayed (or not) in the TreeMap control. This weighting is used to represent the importance of the element in relation to other elements found in the TreeMap control.
Related Examples:
The TreeMap control Unit examples (WINDEV): The TreeMap control
[ + ] Using the TreeMap control.
The TreeMap control is used to dynamically represent the data, possibly in tree structure, in a balanced way.
This type of control is very useful to represent volumes of data in an intuitive way.
In the example, it is used to view the content of a directory and to monitor the size of the files and sub-directories found in it.
Minimum required version
  • Version 15
Comments
Click [Add] to post a comment