Ok, thanks David.

By the way, X and Y from Mouse_Event_Record are absolute regarding the whole 
document.
I you want to have them relative to a view for instance canvas present anywhere 
in the document you have to substact the position of the view with:
 function Offset_From_Top (     Element : Element_Type) return Integer;
 function Offset_From_Left (    Element : Element_Type) return Integer;
Position in pixels relative to the document
Maybe worth to put it in some documentation.

Regards, Pascal.
http://blady.pagesperso-orange.fr


Le 18 févr. 2015 à 21:01, Rabbi David Botton <[email protected]> a écrit :

> I sometimes see 1, sometimes 2 and sometimes 3. The browser is generating the 
> events, i.e. they are not duplicates created with in the framework.
> 
> David Botton
> 
> 
> On Tue, Feb 17, 2015 at 3:44 PM, Pascal <[email protected]> wrote:
> Hello,
> 
> I've my mouse move event handler which log the coordinates of the mouse 
> pointer with a serial number in front of the log:
> (coordinates are X, Y, Screen_X, Screen_Y)
> ...
>  6850: 580, 133; 1455, 476
>  6851: 580, 133; 1455, 476
>  6852: 587, 127; 1462, 470
>  6853: 587, 127; 1462, 470
>  6854: 596, 121; 1471, 464
>  6855: 596, 121; 1471, 464
>  6856: 603, 117; 1478, 460
>  6857: 603, 117; 1478, 460
> 
> I move the pointer regularly from one point to an other.
> It seems that the handler received the mouse move event twice.
> 
> Is it the case on your side?
> 
> Thanks, Pascal.
> http://blady.pagesperso-orange.fr
> 
> 
> 
> ------------------------------------------------------------------------------
> Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
> from Actuate! Instantly Supercharge Your Business Reports and Dashboards
> with Interactivity, Sharing, Native Excel Exports, App Integration & more
> Get technology previously reserved for billion-dollar corporations, FREE
> http://pubads.g.doubleclick.net/gampad/clk?id=190641631&iu=/4140/ostg.clktrk
> _______________________________________________
> Gnoga-list mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/gnoga-list
> 
> ------------------------------------------------------------------------------
> Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
> from Actuate! Instantly Supercharge Your Business Reports and Dashboards
> with Interactivity, Sharing, Native Excel Exports, App Integration & more
> Get technology previously reserved for billion-dollar corporations, FREE
> http://pubads.g.doubleclick.net/gampad/clk?id=190641631&iu=/4140/ostg.clktrk_______________________________________________
> Gnoga-list mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/gnoga-list


------------------------------------------------------------------------------
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=190641631&iu=/4140/ostg.clktrk
_______________________________________________
Gnoga-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/gnoga-list

Reply via email to