LCL, fixes grid column resizing problem, issue #10732

git-svn-id: trunk@15282 -
This commit is contained in:
jesus 2008-05-31 18:12:04 +00:00
parent a353f8dd84
commit 5abcbe2bff

View File

@ -1782,7 +1782,7 @@ begin
Bigger := AValue>integer(PtrUInt(FCols[ACol]));
SetRawColWidths(ACol, Avalue);
if not (csLoading in ComponentState) then begin
if not (csLoading in ComponentState) and HandleAllocated then begin
if FUpdateCount=0 then begin
UpdateSizes;
@ -2065,7 +2065,7 @@ begin
FRows[ARow]:=Pointer(PtrInt(AValue));
if not (csLoading in ComponentState) then begin
if not (csLoading in ComponentState) and HandleAllocated then begin
if FUpdateCount=0 then begin
UpdateSizes;