Page 1 of 1

MouseWheel Scrolling

Posted: Fri Jun 02, 2017 4:30 pm
by 18681092
I've got the TeeGrid connected to a DataSource. The MouseWheel will not work to scroll. I've tried setting the TeeGrid.Scrolling.Mode to different things.

Also, using the arrow keys will move the indicator position but scrolling doesn't happen.

Thanks
Brent

Re: MouseWheel Scrolling

Posted: Thu Jun 08, 2017 1:39 pm
by yeray
Hi Brent,

This was fixed with #1850 and #1851.
The next maintenance release will include the fix.

The fix is quite simple, if you want to implement in your sources. It consists on adding an override of the DataSetScrolled method at Tee.GridData.DB.pas:

Code: Select all

  TVirtualDataLink=class(TDataLink)
  //...
  protected
  //...
    Procedure DataSetScrolled (Distance :Integer); Override;
//...
Procedure TVirtualDataLink.DataSetScrolled (Distance :Integer);
Begin
  RecordChanged(Nil);
End;