Delphi-PRAXiS

Delphi-PRAXiS (https://www.delphipraxis.net/forum.php)
-   Win32/Win64 API (native code) (https://www.delphipraxis.net/17-win32-win64-api-native-code/)
-   -   Delphi TEdit Transparency Delphi 2009 (https://www.delphipraxis.net/122767-tedit-transparency-delphi-2009-a.html)

Razor 21. Okt 2008 21:17


TEdit Transparency Delphi 2009
 
I tried this

Delphi-Quellcode:
 procedure TForm2.WMEraseBkgnd(var message:TWMEraseBkgnd);
begin
 message.result:=1;
end;
Maybe i tried it the wrong way?
My goal is to make it fully transparent...

Razor 22. Okt 2008 14:59

Re: How to make Tedit transparent fully?
 
Liste der Anhänge anzeigen (Anzahl: 1)
No body?

If you don't know what i mean i mean it like this

snipp

When you go over it turns gray if you go off its area it turns too glass.


[edit=Matze]Image attached. Mfg, Matze[/edit]

Razor 22. Okt 2008 16:35

Re: How to make Tedit transparent fully?
 
Seriously anybody or is it english that's the problemo? :wall:

//This is craazyyy

mirage228 22. Okt 2008 18:30

Re: TEdit Transparency Delphi 2009
 
The edit in your picture seems not be transparent at all. It has one background-color which fits to the color of the underlying gradient...
Maybe it is enough to set an adequate background color your edit?

Razor 22. Okt 2008 18:33

Re: TEdit Transparency Delphi 2009
 
It is transparent thats just hover color when you go over it with mouse..
When you leave the tedit area with your mouse it turns to glass..

Marc. 22. Okt 2008 18:58

Re: TEdit Transparency Delphi 2009
 
What you are talking about is called "Aero Effect", it's a feature of Windows Vista.
I think in this case the DWM-API. should help you. ;)

€: There's a thread about that topic, including a unit that provides some functions to get components transparent. *click*

I hope you get along with it. cu

Razor 22. Okt 2008 19:06

Re: TEdit Transparency Delphi 2009
 
Danke big time,and twice as much if it will help... :-D

Razor 22. Okt 2008 19:16

Re: TEdit Transparency Delphi 2009
 
Can you be a little more specific there are loads of functions all for its own usage,its
like finding a needle in the egg... :|

EDIT:> an example would be great or am i asking too much?

Razor 25. Jan 2009 18:38

Re: TEdit Transparency Delphi 2009
 
Liste der Anhänge anzeigen (Anzahl: 1)
Can anybody help me with this i need this kind of edit?


[edit=Matze]Image attached. MfG, Matze[/edit]


Alle Zeitangaben in WEZ +1. Es ist jetzt 19:34 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