Changeset 23 for branches/Xvcl/Drivers/Driver.MouseVCL.pas
- Timestamp:
- May 8, 2013, 1:52:33 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/Xvcl/Drivers/Driver.MouseVCL.pas
r20 r23 13 13 procedure DoMouseUp(Sender: TObject; Button: TMouseButton; 14 14 Shift: TShiftState; X, Y: Integer); 15 procedure DoMouseMove(Sender: TObject; Shift: TShiftState; 16 X, Y: Integer); 15 17 public 16 18 Form: Vcl.Forms.TForm; … … 25 27 begin 26 28 Kernel.Mouse.HandleDown(TPoint.Create(X, Y)); 29 end; 30 31 procedure TDriverMouseVCL.DoMouseMove(Sender: TObject; Shift: TShiftState; X, 32 Y: Integer); 33 begin 34 Kernel.Mouse.HandleMouseMove(TPoint.Create(X, Y)); 27 35 end; 28 36 … … 45 53 TForm1(Form).Image1.OnMouseDown := DoMouseDown; 46 54 TForm1(Form).Image1.OnMouseUp := DoMouseUp; 55 TForm1(Form).Image1.OnMouseMove := DoMouseMove; 47 56 end; 48 57
Note:
See TracChangeset
for help on using the changeset viewer.