ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

This content has been translated automatically.  Click here  to view the French version.
Help / WLanguage / WLanguage functions / Controls, pages and windows / TreeMap functions
WINDEV
WindowsLinuxJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac Catalyst
Others
Stored procedures
Returns the index of the element displayed at a given position in a TreeMap control.
Example
// -- Code optionnel de survol souris pour le champ TMAP_TreeMap1
ÉlémentSurvolé is int
ÉlémentSurvolé = TreeMapInfoXY(TMAP_TreeMap1, MouseXPos(), MouseYPos())
// Change la bulle d'aide de l'élément
IF ÉlémentSurvolé > 0 THEN
	TMAP_TreeMap1[ÉlémentSurvolé].Bulle = ...
		"Elément survolé : " + TMAP_TreeMap1[ÉlémentSurvolé].Libellé
END
Syntax
<Result> = TreeMapInfoXY(<TreeMap control> , <X> , <Y>)
<Result>: Integer
  • Index of the element displayed at the specified position.
  • -1 if no element corresponds to the specified position.
<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.
<X>: Integer
X-coordinate (in pixels) to be analyzed. This coordinate is relative to the control.
<Y>: Integer
Y-coordinate (in pixels) to be analyzed. This coordinate is relative to the control.
Component: wd300obj.dll
Minimum version required
  • Version 15
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 03/28/2025

Send a report | Local help