Unit 'MUIClass.DrawPanel' Package
[Overview][Types][Classes][Variables][Index] [#MUIClass]

TMUIMouseEvent

Event type for all kind of Mouse action

Declaration

Source position: MUIClass.DrawPanel.pas line 18

type TMUIMouseEvent = procedure(

  Sender: TObject;

  MouseBtn: TMUIMouseBtn;

  X: Integer;

  Y: Integer;

  var EatEvent: Boolean

) of object;

Arguments

Sender

  

The object sending the Mouse action

MouseBtn

  

Which button triggered the Event

X

  

Current x position of the Mouse, relative to the objects left position

Y

  

Current y position of the Mouse, relative to the objects top position

EatEvent

  

Return False if the Event should be sent to the underlaying objects as well.

See also

DrawPanel.OnMouseDownp

  

DrawPanel.OnMouseUp

  


Documentation generated on: 2024-11-21