开发者

Why InvalidateRow/InvalidateColum does not work?

InvalidateRow and InvalidateColum are not working for TStringGrid. The methods will not invalidate the entire Row/Col.

InvalidateGrid always works (so this could be a dirty work-arround until the cause of the bug is found).

In some circumstances (it seems to be random) InvalidateRow and Inva开发者_StackOverflow社区lidateColum seem to work also. Update: I have found which circumstances will trigger the bug: the grid must be larger than the visible area and the position is outside of the view.

Any ideas?

Delphi 7, Win 7 32 bits


"SOLVED" (Delphi VCL bug)

I have found that this bug exists since Delphi 1: http://qc.embarcadero.com/wc/qcmain.aspx?d=81060

Thanks Jeroen Wiert Pluimers for providing a solution!


Update:
The Embarcadero QC link is permanently broken (somebody should teach those guys to use 301 redirects) but here is the solution.

Also, here is the WayBackMachine: https://web.archive.org/web/20171220161153/http://qc.embarcadero.com/wc/qcmain.aspx?d=81060

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜