Autor Beitrag
Karstadt
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 174

Windows 2000 / XP
Delphi 7 Pro
BeitragVerfasst: Mi 07.12.05 10:08 
Hallo. Wenn ich eine Spalte mit boolischen Werten habe, möchte ich gerne das mir der DBGRIB anzeigt Ja oder Nein (und nicht Wahr) und am besten in eine andere Farbe. z.B. Ja = Grün, Nein = Rot.

Wie kann mas realisieren?
digi_c
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 1905

W98, XP
D7 PE, Lazarus, WinAVR
BeitragVerfasst: Mi 07.12.05 13:37 
Indem du selber eine Komponente von TDBGrid ableitest oder einfacher das OnDrawDataCell() erweiterst.
jasocul
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 6395
Erhaltene Danke: 149

Windows 7 + Windows 10
Sydney Prof + CE
BeitragVerfasst: Mi 07.12.05 14:28 
Oder die Feld-Formatierer-Komponente von meiner HP lädst.