AYUDA EN LÍNEA
 WINDEVWEBDEV Y WINDEV MOBILE

Ayuda / WLanguage / Funciones WLanguage / Controles, páginas y ventanas / Funciones TreeMap
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac CatalystUniversal Windows 10 App
Others
Stored procedures
Returns the index 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 = TMAP_TreeMap1.InfoXY( MouseXPos(), MouseYPos())
// Changes the element tooltip
IF HoveredElement > 0 THEN
TMAP_TreeMap1[HoveredElement].ToolTip = ...
"Hovered element: " + TMAP_TreeMap1[HoveredElement].Caption
END
Syntax
<Result> = <TreeMap control>.InfoXY(<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.
<X>: Integer
X-coordinate (in pixels) to be analyzed. This coordinate is given in relation to the control.
<Y>: Integer
Y-coordinate (in pixels) to be analyzed. This coordinate is given in relation to the control.
Component: wd290obj.dll
Versión mínima requerida
  • Versión 23
Comentarios
Haga clic en [Agregar] para publicar un comentario

Última modificación: 21/06/2023

Señalar un error o enviar una sugerencia | Ayuda local