fixed hiding horizontal scrollbar from Julian Schutsch
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@2439 8e941d3f-bd1b-0410-a28a-d453659cc2b4
This commit is contained in:
parent
95d589c4eb
commit
3a3e49b01c
@ -2887,6 +2887,7 @@ begin
|
||||
ScrollBarPosition(SB_VERT, 0);
|
||||
ScrollBarRange(SB_VERT, 0, FPageHeight);
|
||||
ShowScrollBar(Handle, SB_VERT, True); { Disable the Scrollbar ! }
|
||||
ShowScrollBar(Handle, SB_HORZ, False);
|
||||
end;
|
||||
end
|
||||
else
|
||||
@ -2895,6 +2896,7 @@ begin
|
||||
begin
|
||||
ScrollBarRange(SB_VERT, FVisibleLineCount, FPageHeight);
|
||||
ShowScrollBar(Handle, SB_VERT, True);
|
||||
ShowScrollBar(Handle, SB_HORZ, False);
|
||||
end;
|
||||
end;
|
||||
Invalidate;
|
||||
|
Loading…
Reference in New Issue
Block a user