Delphi-PRAXiS

Delphi-PRAXiS (https://www.delphipraxis.net/forum.php)
-   GUI-Design mit VCL / FireMonkey / Common Controls (https://www.delphipraxis.net/18-gui-design-mit-vcl-firemonkey-common-controls/)
-   -   Delphi MouseDown außerhalb des Controls (https://www.delphipraxis.net/35935-mousedown-ausserhalb-des-controls.html)

MatthiasW 13. Dez 2004 22:03


MouseDown außerhalb des Controls
 
Ich weiß das ich mit "GetCursorPos" in einem Timer - Event abfragen kann ober sich die Maus außerhalb meines Controls befindet. Wie stelle ich aber jetzt fest, ob der Benutzer dort eine Maustaste gedrückt hat :?: :gruebel:

Nicodius 13. Dez 2004 22:09

Re: MouseDown außerhalb des Controls
 
am besten wenn du im dortigen control(ein anderes wie das "innerhalB") beim oncmousedown ne boolean variable machst ;)

MatthiasW 13. Dez 2004 22:22

Re: MouseDown außerhalb des Controls
 
es geht ja darum rauszufinden ob der Benutzer auf eine stelle auf dem Desktop oder einer anderen Anwendung geklickt hat. Wenn der Benutzer auf ein anderes Control innerhalb des Forms geklickt hat brauch ich ja nur in "KillFocus" meinen Code ausführen.


Alle Zeitangaben in WEZ +1. Es ist jetzt 08:27 Uhr.

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