FillRect doesn't paint the complete TStringGrid cell in Delphi XE2

前端 未结 4 1420
既然无缘
既然无缘 2021-01-04 03:16

FillRect doesn\'t paint the complete TStringGrid cell in Delphi XE2. There is a gap of 3 pixels on the left side in the default color (with B

4条回答
  •  挽巷
    挽巷 (楼主)
    2021-01-04 03:40

    Turn off the first 4 options in TStringGrid:

    • goFixedVertLine
    • goFixedHorizLine
    • goVertLine
    • goHorizLine

    Then it won't paint the grid lines, and your grid cells will paint right to the edges. Just tried it with XE.

提交回复
热议问题