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
Returns the subscript of the element displayed at a given position in a TreeMap control.
Example
// -- Optional code of mouse rollover for the TMAP_TreeMap1 control
HoveredElement is int
HoveredElement = TreeMapInfoXY(TMAP_TreeMap1, MouseXPos(), MouseYPos())
// Changes the element tooltip
IF HoveredElement > 0 THEN
TMAP_TreeMap1[HoveredElement]..ToolTip = ...
"Hovered element: " + TMAP_TreeMap1[HoveredElement]..Caption
END
Syntax
<Result> = TreeMapInfoXY(<TreeMap Control> , <X> , <Y>)
<Result>: Integer
  • Subscript of 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 TreeMap control to which the current process belongs will be used.
<X>: Integer
X coordinate (in pixels) to study. This coordinate is given in relation to the control.
<Y>: Integer
Y coordinate (in pixels) to study. This coordinate is given in relation to the 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