![]() |
Transparentes Formular Frage
Hallo,
ich habe ein Formular, welches transparent ist. Darauf liegt ein Image, welches im MouseDown folgendes tut:
Delphi-Quellcode:
Jetzt liegen auf dem Image 2 Buttons, die dieses Verhalten nicht erben sollen. Wie mach ich das?
ReleaseCapture;
Perform(wm_syscommand,$f012, 0); Viele Grüße ... |
AW: Transparentes Formular Frage
Ich habe verstanden daß die Buttons auf dem Image gemalt sind. Exemplarisch:
Delphi-Quellcode:
Function ButtonClicked(x,y:Integer):Integer; begin If (x>10) and (x<30) and (y>10) and (y<20) then Result := 1 else If (x>30) and (x<40) and (y>10) and (y<20) then Result := 2 else Result := 0; end; ButtonClicked := GetButtonClicked(x,y); if ButtonClicked=0 then begin ReleaseCapture; Perform(wm_syscommand,$f012, 0); end; |
AW: Transparentes Formular Frage
Dafür gibt es aber wesentlich schöner
![]() Wenn es sich um TButtons handelt, dann erben die das aber nicht |
AW: Transparentes Formular Frage
Edit: Sry, falscher Thread (damn Tabs)
|
AW: Transparentes Formular Frage
Hi,
es sind TButtons. Komischerweise verhalten diese sich unter XP anders als unter Win7?! (Unter Win 7 gehts) Viele Grüße |
Alle Zeitangaben in WEZ +1. Es ist jetzt 04:39 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