Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我有一个 ViewStyle 设置为 vsReport 的 TListView。如何更改网格的颜色和网格线的宽度。D2009 中的网格线有点太粗了,我想要与 D5 中的宽度相同。
谢谢
没有任何 Delphi 代码可以画出这些线条。它们由底层的 Windows 公共控制代码绘制,并且不提供任何指定线条粗细的方法。它们要么开启,要么关闭。如果您在 Delphi 版本之间看到不同的外观,那可能是因为您在不同的 Windows 版本上运行程序。