Autor Beitrag
koller1
ontopic starontopic starontopic starontopic starofftopic starofftopic starofftopic starofftopic star
Beiträge: 216

WIN XP
D7 Ent
BeitragVerfasst: So 05.06.05 18:25 
Hallo!

Ich habe mal wieder eine Frage! Wie schafft man es, dass ein Panel (Label etc.) auch bei einem XP-Manifest farbig wird? Könntet ihr das mal bitte idiotensicher erklären??

MFG
koller1
Luckie
Ehemaliges Mitglied
Erhaltene Danke: 1



BeitragVerfasst: So 05.06.05 18:33 
Es ist ja gerade Sinn der Sache, dass das Manifest das Aussehen bestimmt. Ansonsten, das hatten wir schon oft genug, einfach mal die Suche bemühen.
Sprint
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 849



BeitragVerfasst: So 05.06.05 20:57 
user profile iconkoller1 hat folgendes geschrieben:
Ich habe mal wieder eine Frage! Wie schafft man es, dass ein Panel (Label etc.) auch bei einem XP-Manifest farbig wird? Könntet ihr das mal bitte idiotensicher erklären?

Du musst die Eigenschaft "ParentBackground" auf "False" setzen.

_________________
Ciao, Sprint.
koller1 Threadstarter
ontopic starontopic starontopic starontopic starofftopic starofftopic starofftopic starofftopic star
Beiträge: 216

WIN XP
D7 Ent
BeitragVerfasst: So 05.06.05 21:00 
Das habe ich ja versucht! Wie es im Forum schon drin stand, aber es funktioniert nicht! Das ist ja das komische! Tja, wird wohl nicht, mit dem Panel hervorheben! Trotzdem danke!

MFG
koller1
Sprint
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 849



BeitragVerfasst: So 05.06.05 21:14 
ausblenden Delphi-Quelltext
1:
2:
3:
4:
5:
  with Panel1 do
  begin
    ParentBackground := False;
    Color := clRed;
  end;


Das funktioniert nicht? Welche Delphi Version benutzt du?

_________________
Ciao, Sprint.
koller1 Threadstarter
ontopic starontopic starontopic starontopic starofftopic starofftopic starofftopic starofftopic star
Beiträge: 216

WIN XP
D7 Ent
BeitragVerfasst: Mo 06.06.05 16:57 
Danke, nachdreimaligem Probieren, hat es doch geklappt! Danke!

MFG
koller1