User Tools

Site Tools


getmouse_get_mouse_coordinates_in_all_formats_.htm
Navigation:  ABC Library Reference > GraphClass > GraphClass Methods >====== GetMouse (get mouse coordinates in all formats) ====== Previous pageReturn to chapter overviewNext page

GetMouse

blk2blue.jpg

The GetMouse method is used to retrieve mouse coordinates each time a mouse event has occurred on the graph control.

Implementation:

The GetMouse method is called from the TakeEventOfParent method, and sets the following properties:

! Coordinates of the mouse in DC units

self.eMouseX (see mousex())

self.eMouseY (see mousey())

! Coordinates of the mouse in logic (independent) units

self.eMouseXl

self.eMouseYl

! Coordinates of the mouse in physical (node)units

self.eMouseXa

self.eMouseYa

See Also:     TakeEventOfParent

getmouse_get_mouse_coordinates_in_all_formats_.htm.txt · Last modified: 2021/04/15 15:57 by 127.0.0.1