Thema: Delphi TListView.OnDrawItem

Einzelnen Beitrag anzeigen

Namenloser

Registriert seit: 7. Jun 2006
Ort: Karlsruhe
3.724 Beiträge
 
FreePascal / Lazarus
 
#15

AW: TListView.OnDrawItem

  Alt 16. Nov 2010, 13:43
Does it work if you don't use any owner/custom drawing code?

Btw: As you're already using clGrayText , why not use clWindowText for regular text as well? Depending on the settings, text may not always be black by default. In general, you should avoid combining environment colors with hard coded colors, because it can get ugly (e.g. black text on a black background) if someone uses different settings.
  Mit Zitat antworten Zitat