|
|
|
|
|
<TreeMap>.InfoXY (Function) In french: <TreeMap>.InfoXY Returns the index of the element displayed at a given position in a TreeMap control.
ÉlémentSurvolé is int
ÉlémentSurvolé = TMAP_TreeMap1.InfoXY(MouseXPos(), MouseYPos())
IF ÉlémentSurvolé > 0 THEN
TMAP_TreeMap1[ÉlémentSurvolé].Bulle = ...
"Elément survolé : " + TMAP_TreeMap1[ÉlémentSurvolé].Libellé
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 relative to the control. <Y>: Integer Y-coordinate (in pixels) to be analyzed. This coordinate is relative to the control.
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|