Delphi-PRAXiS

Delphi-PRAXiS (https://www.delphipraxis.net/forum.php)
-   Sonstige Fragen zu Delphi (https://www.delphipraxis.net/19-sonstige-fragen-zu-delphi/)
-   -   Delphi Maus Position umgedreht (https://www.delphipraxis.net/89880-maus-position-umgedreht.html)

XXcD 7. Apr 2007 20:39


Maus Position umgedreht
 
Hallo,
ich wollte mal fragen ob ich die mausposition innerhalb eines Images umgekehrt ermitteln kann. Also wenn man die maus von oben nach unten bewegt soll der runterzählen.

Cyberbob 7. Apr 2007 20:50

Re: Maus Position umgedreht
 
Einfach statt "X" ein "Image.Width - X" und statt "Y" ein "Image.Height - Y" schreiben. Dann zählt er aufwärts.


Alle Zeitangaben in WEZ +1. Es ist jetzt 23:11 Uhr.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024-2025 by Thomas Breitkreuz