GetMouse (get mouse coordinates in all formats)

Top  Previous  Next

 

GetMouse

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