lcl: formatting

git-svn-id: trunk@30226 -
This commit is contained in:
paul 2011-04-07 00:19:59 +00:00
parent e546012a43
commit a7e622e6ab

View File

@ -133,7 +133,7 @@ begin
begin begin
ScrollInfo.fMask := SIF_POS; ScrollInfo.fMask := SIF_POS;
GetScrollInfo(ControlHandle, IntfBarKind[Kind], ScrollInfo); GetScrollInfo(ControlHandle, IntfBarKind[Kind], ScrollInfo);
if FPosition<>ScrollInfo.nPos then if FPosition <> ScrollInfo.nPos then
begin begin
FPosition := ScrollInfo.nPos; FPosition := ScrollInfo.nPos;
InvalidateScrollInfo; InvalidateScrollInfo;
@ -449,7 +449,7 @@ end;
constructor TControlScrollBar.Create(AControl: TWinControl; constructor TControlScrollBar.Create(AControl: TWinControl;
AKind: TScrollBarKind); AKind: TScrollBarKind);
begin begin
Inherited Create; inherited Create;
FControl := AControl; FControl := AControl;
FKind := AKind; FKind := AKind;
FPage := 80; FPage := 80;