[Lazarus] TStringGrid.AutoSizeColumns leads to temporary ghost columns

Jürgen Hestermann juergen.hestermann at gmx.de
Sun Oct 23 13:46:07 CEST 2011


I wrote a program for Windows that uses TStringGrid.AutoSizeColumns 
after filling the columns with text.
Autosizing leads to smaller columns in my case.

On one machine (WinXP SP3) it works ok.
But on another machine (WinXP SP2) the most right column is still
visible at its original place after AutoSizing so I see it twice.
Toggling to another program and back with Alt+TAB lets it disappear.

Anybody seen this?
Is it a Windows bug  or a bug of TStringGrid.AutoSizeColumns?





More information about the Lazarus mailing list