Einzelnen Beitrag anzeigen

Benutzerbild von Uwe Raabe
Uwe Raabe

Registriert seit: 20. Jan 2006
Ort: Lübbecke
11.589 Beiträge
 
Delphi 12 Athens
 
#3

AW: FMX TGrid hat keine onMousexxx events?

  Alt 25. Feb 2025, 16:34
Laut Doku sind die Properties public und sind so auch vorhanden (in TControl deklariert):
Code:
OnMouseDown    public   Occurs when a mouse button is pressed over a control.
OnMouseEnter   public   Occurs when the mouse cursor enters the area of the control.
OnMouseLeave   public   Occurs when the mouse cursor leaves the control area.
OnMouseMove    public   Occurs when the mouse cursor moves while over the control area.
OnMouseUp      public   Occurs when the mouse button that was pressed over the control is released.
OnMouseWheel   public   Occurs when the mouse wheel moves while the control has focus.
Es ist also durchaus möglich, die entsprechenden Events im Code zuzuweisen.
Uwe Raabe
Certified Delphi Master Developer
Embarcadero MVP
Blog: The Art of Delphi Programming
  Mit Zitat antworten Zitat