From 82e477a0ca166e963d4d6d056200dfcf98685e34 Mon Sep 17 00:00:00 2001 From: juha Date: Tue, 3 May 2011 08:58:08 +0000 Subject: [PATCH] LCL: Try to show scrollbars when Row/Col is changed by code. Improves issue #19257 but doesn't solve it. git-svn-id: trunk@30537 - --- lcl/grids.pas | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lcl/grids.pas b/lcl/grids.pas index a186567b76..8cb989a21a 100644 --- a/lcl/grids.pas +++ b/lcl/grids.pas @@ -3185,11 +3185,10 @@ begin FGCache.TLColOff:=0; if OldTopLeft.y<>FTopLeft.y then FGCache.TLRowOff:=0; - - doTopleftChange(False) end else if not (goSmoothScroll in Options) or wResetOffs then ResetOffset(True, True); + doTopleftChange(False); end; {Returns a valid TopLeft from a proposed TopLeft[DCol,DRow] which are