mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-17 02:49:30 +02:00
LCL: grids: no scrolling by interface
git-svn-id: trunk@21440 -
This commit is contained in:
parent
141dffc70a
commit
f552d85248
@ -1 +1 @@
|
||||
'0.9.29'
|
||||
'0.9.28'
|
||||
|
@ -5533,7 +5533,7 @@ begin
|
||||
Result:=inherited DoMouseWheelDown(Shift, MousePos);
|
||||
if not Result then begin
|
||||
GridMouseWheel(Shift, 1);
|
||||
// keep Result=false to let the interface scroll
|
||||
Result := True; // handled, no further scrolling by the widgetset
|
||||
end;
|
||||
{$ifdef dbgScroll}DebugLn('doMouseWheelDown END');{$endif}
|
||||
end;
|
||||
@ -5545,7 +5545,7 @@ begin
|
||||
Result:=inherited DoMouseWheelUp(Shift, MousePos);
|
||||
if not Result then begin
|
||||
GridMouseWheel(Shift, -1);
|
||||
// keep Result=false to let the interface scroll
|
||||
Result := True; // handled, no further scrolling by the widgetset
|
||||
end;
|
||||
{$ifdef dbgScroll}DebugLn('doMouseWheelUP END');{$endif}
|
||||
end;
|
||||
|
Loading…
Reference in New Issue
Block a user