Patch from zeljko. Improves scrolling fixes

git-svn-id: trunk@17684 -
This commit is contained in:
sekelsenmat 2008-12-04 16:39:12 +00:00
parent 9a5c600991
commit 3ccc06be10

View File

@ -28,8 +28,11 @@ begin
else else
begin begin
// If AutoScroll is false, then the scrollbars are always invisible // If AutoScroll is false, then the scrollbars are always invisible
ShowScrollBar(Handle, SB_HORZ, False); if HandleAllocated then
ShowScrollBar(Handle, SB_VERT, False); begin
ShowScrollBar(Handle, SB_HORZ, False);
ShowScrollBar(Handle, SB_VERT, False);
end;
end; end;
end; end;