mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-05-14 05:41:17 +02:00
34 lines
1.3 KiB
PHP
34 lines
1.3 KiB
PHP
{%MainUnit ../forms.pp}
|
|
|
|
{
|
|
*****************************************************************************
|
|
* *
|
|
* This file is part of the Lazarus Component Library (LCL) *
|
|
* *
|
|
* See the file COPYING.modifiedLGPL.txt, 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. *
|
|
* *
|
|
*****************************************************************************
|
|
}
|
|
|
|
class procedure TScrollBox.WSRegisterClass;
|
|
begin
|
|
inherited WSRegisterClass;
|
|
RegisterScrollBox;
|
|
end;
|
|
|
|
constructor TScrollBox.Create(AOwner: TComponent);
|
|
begin
|
|
Inherited Create(AOwner);
|
|
fCompStyle:= csScrollBox;
|
|
ControlStyle := ControlStyle + [csCaptureMouse];
|
|
AutoScroll := True;
|
|
BorderStyle := bsSingle;
|
|
end;
|
|
|
|
// included by forms.pp
|