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:
zeljko 2012-02-07 19:15:56 +00:00
parent 0f0bcdb501
commit 31fdb216bc

View File

@ -25,6 +25,7 @@ constructor TScrollBox.Create(AOwner: TComponent);
begin
Inherited Create(AOwner);
fCompStyle:= csScrollBox;
ControlStyle := ControlStyle + [csCaptureMouse];
AutoScroll := True;
BorderStyle := bsSingle;
end;