Hi Arnaud,

Thanks for those. I ended up doing it in a pretty simple way. Basically, in the 
list box On Mouse Move event:

GET MOUSE($lMouseX;$lMouseY;$lMouseButton)
LISTBOX GET CELL POSITION(lbRanchMetrics;$lMouseX;$lMouseY;$lCol;$lRow)
If ($lRow>0)
        LISTBOX GET CELL 
COORDINATES(lbRanchMetrics;$lCol;$lRow;$lCellLeft;$lCellTop;$lCellRight;$lCellBottom)
        $lMouseInSVGX:=$lMouseX-$lCellLeft
        $lMouseInSVGY:=$lMouseY-$lCellTop
        $SVGtID:=SVG Find element ID by 
coordinates(agRM_Graph{$lRow};$lMouseInSVGX;$lMouseInSVGY)
        //Manipulate $tSVGID attributes
End if

Works like a charm!

--
Cannon.Smith
Synergy Farm Solutions Inc.
Hill Spring, AB Canada
403-626-3236
<can...@synergyfarmsolutions.com>
<www.synergyfarmsolutions.com>


> On Aug 15, 2018, at 7:53 AM, Arnaud de Montard via 4D_Tech 
> <4d_tech@lists.4d.com> wrote:
> 
> 2 methods (c4d format) for that…

**********************************************************************
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**********************************************************************

Reply via email to