Changeset 174 for trunk/Packages/Common/UListViewSort.pas
- Timestamp:
- Feb 14, 2018, 10:39:55 AM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Packages/Common/UListViewSort.pas
r170 r174 353 353 TP1: TPoint; 354 354 XBias, YBias: Integer; 355 OldColor: TColor; 355 PenColor: TColor; 356 BrushColor: TColor; 356 357 BiasTop, BiasLeft: Integer; 357 358 Rect1: TRect; … … 365 366 Item.Left := 0; 366 367 GetCheckBias(XBias, YBias, BiasTop, BiasLeft, ListView); 367 OldColor := ListView.Canvas.Pen.Color; 368 PenColor := ListView.Canvas.Pen.Color; 369 BrushColor := ListView.Canvas.Brush.Color; 368 370 //TP1 := Item.GetPosition; 369 371 lRect := Item.DisplayRect(drBounds); // Windows 7 workaround … … 408 410 end; 409 411 //ListView.Canvas.Brush.Color := ListView.Color; 410 ListView.Canvas.Brush.Color := clWindow;411 ListView.Canvas.Pen.Color := OldColor;412 ListView.Canvas.Brush.Color := BrushColor; 413 ListView.Canvas.Pen.Color := PenColor; 412 414 end; 413 415
Note:
See TracChangeset
for help on using the changeset viewer.