mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-12-03 19:07:27 +01:00
LCL: added csCaptureMouse to TScrollBox controlStyle, now it's Delphi compat.fixes issues #19712 and #19713.
git-svn-id: trunk@35225 -
This commit is contained in:
parent
0f0bcdb501
commit
31fdb216bc
@ -25,6 +25,7 @@ constructor TScrollBox.Create(AOwner: TComponent);
|
||||
begin
|
||||
Inherited Create(AOwner);
|
||||
fCompStyle:= csScrollBox;
|
||||
ControlStyle := ControlStyle + [csCaptureMouse];
|
||||
AutoScroll := True;
|
||||
BorderStyle := bsSingle;
|
||||
end;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user