MouseEvents (MapCtrl)

События, вызываемые различными манипуляциями мыши.

Возникает от:

MapCtrl

Синтаксис:

Event OnMouseLeftDblClick(State As eMouseState, X As Long, Y As Long, RealX As Double, RealY As Double)

Event OnMouseLeftDown(State As eMouseState, X As Long, Y As Long, RealX As Double, RealY As Double)

Event OnMouseLeftUp(State As eMouseState, X As Long, Y As Long, RealX As Double, RealY As Double)

Event OnMouseMove(State As eMouseState, X As Long, Y As Long, RealX As Double, RealY As Double)

Event OnMouseRightDown(State As eMouseState, X As Long, Y As Long, RealX As Double, RealY As Double)

Event OnMouseRightUp(State As eMouseState, X As Long, Y As Long, RealX As Double, RealY As Double)

State - комбинация флагов, указывающих на нажатое состояние клавиш мыши и клавиш Shift и Ctrl клавиатуры, может принимать значения из набора eMouseState.

X, Y - координаты окна карты в пикселах, соответствующие текущему положению мыши в окне.

RealX,RealY -  координаты местности, соответствующие точке нажатия мыши на экране.