Thema: Delphi TListView.OnDrawItem

Einzelnen Beitrag anzeigen

WojTec

Registriert seit: 17. Mai 2007
480 Beiträge
 
Delphi XE6 Professional
 
#22

Re: AW: TListView.OnDrawItem

  Alt 17. Nov 2010, 18:07
Now working Thanks so much!

Delphi-Quellcode:
    Brush.Style := bsClear;
    FillRect(Rect);

    if odSelected in State then
    begin
      DrawThemeBackground(Theme, lvRecentFiles.Canvas.Handle,
        LVP_LISTITEM, LIS_SELECTED, Rect, nil
      );
    end;
Yes, OnCustom* are not required, just OnDrawItem is needed. This cod I putten between font color and text render. And now I have list liki in Delphi
  Mit Zitat antworten Zitat