mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-08 19:58:18 +02:00
DBGrids: fixed dgThumbTracking usage on dbgrid. issue #41451
This commit is contained in:
parent
b4bb6f4b64
commit
87877c4fda
@ -1795,7 +1795,9 @@ begin
|
||||
ScrollInfo.ntrackPos := 0;
|
||||
{$else}
|
||||
ScrollInfo.fMask := SIF_ALL or SIF_UPDATEPOLICY;
|
||||
//ScrollInfo.ntrackPos := SB_POLICY_CONTINUOUS;
|
||||
if dgThumbTracking in Options then
|
||||
ScrollInfo.ntrackPos := SB_POLICY_CONTINUOUS
|
||||
else
|
||||
ScrollInfo.ntrackPos := SB_POLICY_DISCONTINUOUS;
|
||||
{$endif}
|
||||
ScrollInfo.nMin := 0;
|
||||
|
Loading…
Reference in New Issue
Block a user