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
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.
精彩评论