mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-27 21:00:23 +02:00
Patch from zeljko. Improves scrolling fixes
git-svn-id: trunk@17684 -
This commit is contained in:
parent
9a5c600991
commit
3ccc06be10
@ -28,8 +28,11 @@ begin
|
||||
else
|
||||
begin
|
||||
// If AutoScroll is false, then the scrollbars are always invisible
|
||||
ShowScrollBar(Handle, SB_HORZ, False);
|
||||
ShowScrollBar(Handle, SB_VERT, False);
|
||||
if HandleAllocated then
|
||||
begin
|
||||
ShowScrollBar(Handle, SB_HORZ, False);
|
||||
ShowScrollBar(Handle, SB_VERT, False);
|
||||
end;
|
||||
end;
|
||||
end;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user