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 Transparente Form funktioniert nicht. (https://www.delphipraxis.net/32838-transparente-form-funktioniert-nicht.html)

iamjoosy 28. Okt 2004 15:41


Transparente Form funktioniert nicht.
 
Also:

Ich habe eine Form1. (nicht transparent). Auf dieser ist ein Button.

Folgender Code:

Delphi-Quellcode:
procedure TForm1.Button1Click(Sender: TObject);
begin
  Application.CreateForm(Tform2,Form2);
  Form2.Show;
  // form2.Parent:=Form1;
end;
Form2 ist transparent deklariert: Alphablend := true und Alphablendvalue:=100

Wenn man nun aber die Form2 als Child von Form1 haben möchte (form2.Parent:=Form1)
, so verliert Form2 scheine Transparenz.

Kann mir jemand sgaen warum, bzw. was ich dagagen tun kann.

Dax 28. Okt 2004 15:44

Re: Transparente Form funktioniert nicht.
 
Das scheint ein generelles "Problem" zu sein: Alle Fenster (auch Controls), die irgendwie ein Parent-Fenster haben, können nicht transparent sein..


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