Autor Beitrag
Milhouse2500
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 33

Win 2000, Win XP
D5 Prof, D7 Enterprise
BeitragVerfasst: Mi 22.02.06 15:49 
Hi

wenn ich ein normales TEdit auf Enabled:= False setzte, dann wird das Feld ja grau dargestellt. Meine frage ist jetzt wie ich die Farbe des Edit bzw den Font ändern kann.

Ich hoffe es hat einer eine Idee.

So long
Milhouse
Marc.
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 1876
Erhaltene Danke: 129

Win 8.1, Xubuntu 15.10

BeitragVerfasst: Mi 22.02.06 15:52 
ausblenden Delphi-Quelltext
1:
2:
3:
4:
5:
begin
 with edit1 do 
  Font.Color := clgreen;
  Color := clred;
end;


hoffe ich habe dich richtig verstanden..
Milhouse2500 Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 33

Win 2000, Win XP
D5 Prof, D7 Enterprise
BeitragVerfasst: Mi 22.02.06 15:55 
Nee. War nicht ganz das was ich meinte.

Habe aber gerade das hier bei den Schweizern gefunden: www.swissdelphicente...showcode.php?id=1950

Das schaut so aus als ob es das ist was ich möchte