user474079
user474079

Reputation: 65

Delphi 2009 TListView Change Grid Color and Width of GridLines

I have a TListView with ViewStyle set to vsReport. How do you change the color of the grid and the width of the gridlines. The gridlines is a bit too thick in D2009, I want to have the same width as in D5.

Thanks

Upvotes: 1

Views: 1047

Answers (1)

Rob Kennedy
Rob Kennedy

Reputation: 163287

There isn't any Delphi code that draws those lines. They're drawn by the underlying Windows common-control code, and that doesn't provide any means of specifying the thickness of the lines. They're either on or off. If you're seeing a different appearance between Delphi versions, then it's probably because you're running the program on different Windows versions.

Upvotes: 3

Related Questions