Autor Beitrag
UliTs
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 38

Win XP*, Win 7
xBase++, Delphi 10.3
BeitragVerfasst: Do 13.06.19 15:52 
Hallo allerseits,

nach längerer Zeit bin ich wieder intensiv mit Delphi am programmieren.

Aktuell verwende ich Firedac mit MySql und bei der Darstellung die DBGrid-Komponente:

Nun zu meiner Frage: Es gibt eine Spalte "Storno". Falls Der Wert = "S" ist, möchte ich die Hintergrundfarbe auf Rot ändern. Geht das und wenn ja wie?

Viele Grüße

Uli
mandras
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 429
Erhaltene Danke: 107

Win 10
Delphi 6 Prof, Delphi 10.4 Prof
BeitragVerfasst: Do 13.06.19 19:53 
Hallo UliTs,

schau einmal hier nach:

www.entwickler-ecke....+DBGrid_46318,0.html

Für diesen Beitrag haben gedankt: UliTs
UliTs Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 38

Win XP*, Win 7
xBase++, Delphi 10.3
BeitragVerfasst: Fr 21.06.19 03:02 
Vielen Dank für die Hilfe!
Damit konnte ich die Farbe entsprechend anpassen :-) .

Uli