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 Transparent Forms (https://www.delphipraxis.net/157157-transparent-forms.html)

gorghell 31. Dez 2010 18:29

Transparent Forms
 
Hello,
First of all, sorry for posting in English, I know it's a .de forum but me no sprechen sie deutsch :)

Does anybody know a good method/component for making transparent (PNG) forms that works with Delphi 2006?
Any help would be appreciated, anything except this http://melander.dk/articles/alphasplash/2/ because I would like a "cleaner" solution if possible, something like JvTransparentForm that works on D2006.

Thanks.

s.h.a.r.k 31. Dez 2010 18:40

AW: Transparent Forms
 
The only good solution I have ever found were these two articles (part1 and part2) in the melander.dk blog.

Why you don't want do use it? ;) For me its clean enough.

PS: Welcome to the DP :dp:

gorghell 31. Dez 2010 18:50

AW: Transparent Forms
 
Thanks for your welcome and reply.
Well, that's why I've quoted "clean", I know the source is good enough, I would just like to know if somebody knows how to do this easier so to say. Like on D2010, I just drop a JvTransparentForm component on the form, choose the PNG image and that's it. That's what I mean when I say cleaner solution. The problem is that I don't really like D2010 and not all my components work, so I had to go back to D2006, on which Jv doesn't work.

s.h.a.r.k 31. Dez 2010 18:59

AW: Transparent Forms
 
I would say that you should have a look at the code of this Jv-component. Perhaps you can change the code so you can use it in Delphi 2006.

Hm, I think the PNG format is the problem why it does not work in Delphi 2006. But Embarcadero had not implemented this PNG library itself. In my post you can download the lib Embablub has added to Delphi sources. Perhaps it helps you with this Jv thing.

jbg 31. Dez 2010 19:33

AW: Transparent Forms
 
Zitat:

Zitat von gorghell (Beitrag 1071533)
something like JvTransparentForm that works on D2006.

I don't see where the JVCL excludes Delphi 2006 for the TJvTransparentForm component.

gorghell 31. Dez 2010 20:54

AW: Transparent Forms
 
It doesn't exclude it, but it doesn't work either... Maybe I'm doing something wrong. Anyway, I don't use Jedi, and when I saw the news that they released that component, I have only installed that, on D2010, and it worked like a charm. Now after I went back to D2006 and I've installed Jedi, JvTransparentForm seems a whole different thing, which doesn't really work. If somebody has any version of Delphi without native PNG support and Jedi, please let me know if that works for you. Also, if somebody in willing to help, I can provide you only the component for JvTransparentForm (standalone) and maybe you could make it work with D2006 as well. For PNG support on D2006 I use the PNG library that s.h.a.r.k posted above.

PS: Thanks s.h.a.r.k for the link. I use the same component for PNG support already.

Namenloser 31. Dez 2010 22:46

AW: Transparent Forms
 
Have a look this thread (esp. TurboPASCAL's posts): Form mit PNG Skin und VCL Controls.


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