mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-06-04 19:58:25 +02:00
32 lines
1.2 KiB
PHP
32 lines
1.2 KiB
PHP
// included by forms.pp
|
|
|
|
{
|
|
*****************************************************************************
|
|
* *
|
|
* This file is part of the Lazarus Component Library (LCL) *
|
|
* *
|
|
* See the file COPYING.LCL, included in this distribution, *
|
|
* for details about the copyright. *
|
|
* *
|
|
* This program is distributed in the hope that it will be useful, *
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of *
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. *
|
|
* *
|
|
*****************************************************************************
|
|
}
|
|
|
|
function TScrollBox.GetClientScrollOffset: TPoint;
|
|
begin
|
|
Result.X:=HorzScrollBar.Position;
|
|
Result.Y:=VertScrollBar.Position;
|
|
end;
|
|
|
|
constructor TScrollBox.Create(AOwner: TComponent);
|
|
begin
|
|
Inherited Create(AOwner);
|
|
fCompStyle:= csScrollBox;
|
|
end;
|
|
|
|
// included by forms.pp
|
|
|