Delphi 4 BUG with TListColumn.Width
Delphi 4 appears to have a bug with regards to the TListColumn.Width
property. For example:
TListView.Column[0].Width := ColumnTextWidth;
It autosizes the column as expected, but when I read the .Width property
again, it returns -1 instead of the actual width. Delphi 3 didn't have
this problem: the .Width property always returned the actual width while
the .WidthType property would return -1.
I have Update Pack 3 installed. Is this a known bug? Is there a
workaround?
Thanks,
Rod
--
Rodney M. Savard, Savard Software
Tri-Cities, Washington, USA
rod...@savard.com - http://www.savard.com