Thema: Delphi Hint-Geschehen

Einzelnen Beitrag anzeigen

Benutzerbild von City Light
City Light

Registriert seit: 17. Sep 2002
314 Beiträge
 
#3
  Alt 21. Feb 2003, 22:19
Delphi-Quellcode:
procedure TForm1.FormMouseDown(Sender: TObject; Button: TMouseButton;
  Shift: TShiftState; X, Y: Integer);
var
  CursorPos: TPoint;
begin
  GetCursorPos(CursorPos);
  hint := Format('%d, %d', [CursorPos.X, CursorPos.Y]);
end;
Gruß Tino
Bis bald man liest sich
Tino
  Mit Zitat antworten Zitat