Autor Beitrag
Urba
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 47



BeitragVerfasst: Do 03.07.03 23:05 
Hallo Leute,

Ich habe folgendes Problem :

Ich mache meine Form per ...

ausblenden Quelltext
1:
2:
AlphaBlend := True;
AlphaBlendValue := 100;

leicht transparent.

Nun ist aber das Problem dass ich gerne die Buttons etc. nicht transparent hätte ... weiss jemand wie das geht ?

Mit freundlichen Grüßen
Urba

_________________
Es gibt keine blöden Fragen, nur blöde Antworten :)
TomT
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 116

Suse 9.1 WinXP
D6 Pers
BeitragVerfasst: Fr 04.07.03 06:40 
Stelle im Objektinspektor folgendes ein:
ausblenden Delphi-Quelltext
1:
2:
3:
Color := clRed; //Oder eine andere Farbe die du sonst nicht verwendest
TransparentColor = true;
TransparentColorValue := clRed; //Muss identisch sein mit Color


Viel Erfolg, MFG TomT

_________________
...und da wurde mir klar, dass eine Toolbar keine Kneipe für Heimwerker ist.
Urba Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 47



BeitragVerfasst: Fr 04.07.03 07:00 
Hallo TomT,

Auf welche Art von Komponenten beziehst du dich ? Erstens gibt es nicht überall den Wert "Color" und zweitens bei den wenigsten "Transparent" ... oder nutzt du ein neueres Delphi ... ich verwende D6.

Mit freundlichen Grüßen
Urba

_________________
Es gibt keine blöden Fragen, nur blöde Antworten :)
TomT
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 116

Suse 9.1 WinXP
D6 Pers
BeitragVerfasst: Fr 04.07.03 12:48 
Sorry, ich meine das Form. Benutze auch D6 (siehe links)

_________________
...und da wurde mir klar, dass eine Toolbar keine Kneipe für Heimwerker ist.
Urba Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 47



BeitragVerfasst: Fr 04.07.03 12:53 
mit deinem Tipp bekomm ich sie allerdings nur ganz transparent ... ich möchte sie aber bei AlpahBlend 125 oder so haben ... das geht ja dann nicht

_________________
Es gibt keine blöden Fragen, nur blöde Antworten :)