Thema: Delphi MauszeigerPos Image ?

Einzelnen Beitrag anzeigen

Daniel B
(Gast)

n/a Beiträge
 
#5
  Alt 29. Jan 2003, 20:33
Ja Columbo, bin noch da.

Leg zwei Labels aufs Formular und schreibe folgendes ins OnMouseMove von Form1.

Delphi-Quellcode:
procedure TForm1.FormMouseMove(Sender: TObject; Shift: TShiftState; X,
  Y: Integer);
begin
  Label1.Caption := IntToStr(X);
  Label2.Caption := IntToStr(Y);
end;
Grüsse, Daniel
  Mit Zitat antworten Zitat