mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-05-25 14:42:39 +02:00
add note show scrollbars
git-svn-id: trunk@5458 -
This commit is contained in:
parent
965624865b
commit
b21d97fc01
@ -4175,6 +4175,7 @@ begin
|
||||
ScrollInfo.nPage := CharsInWindow;
|
||||
ScrollInfo.nPos := LeftChar;
|
||||
{$IFDEF SYN_LAZARUS}
|
||||
{ for win32 target, need to call showscrollbar before setscrollinfo }
|
||||
ShowScrollBar(Handle, SB_HORZ, True);
|
||||
{$ENDIF}
|
||||
SetScrollInfo(Handle, SB_HORZ, ScrollInfo, True);
|
||||
@ -4203,6 +4204,7 @@ begin
|
||||
ScrollInfo.nPos := MulDiv(MAX_SCROLL, TopLine, nMaxScroll);
|
||||
end;
|
||||
{$IFDEF SYN_LAZARUS}
|
||||
{ for win32 target, need to call showscrollbar before setscrollinfo }
|
||||
ShowScrollBar(Handle, SB_VERT, True);
|
||||
{$ENDIF}
|
||||
SetScrollInfo(Handle, SB_VERT, ScrollInfo, True);
|
||||
|
Loading…
Reference in New Issue
Block a user