procedure TForm1.lv1CustomDrawItem(Sender: TCustomListView; Item: TListItem; State: TCustomDrawState; var DefaultDraw: Boolean);begin inherited; DefaultDraw := false; if ((Item.Index) mod 2) = 0 then begin TListView(Sender).Canvas.MoveTo(1,Item.Index*10); TListView(Sender).Canvas.Brush.Color := RGB(0, 0, 0); TListView(Sender).Canvas.LineTo(100,Item.Index*10); TListView(Sender).Canvas.Brush.Color := RGB(255, 255, 255); //TListView(Sender).Canvas.Font.Color := clred; end; DefaultDraw := true;end;//重新画,具体画的位置楼主自己看着调吧