Steema Issues Database

Note: This database is for bugs and wishes only. For technical support help, if you are a customer please visit our online forums;
otherwise you can use StackOverflow.
Before using this bug-tracker we recommend a look at this document, Steema Bug Fixing Policy.



Bug 1798

Summary: Selected.ScrollToView not working 100% perfect
Product: TeeGrid for Delphi Reporter: david berneda <david>
Component: GridAssignee: david berneda <david>
Status: RESOLVED DUPLICATE    
Severity: enhancement    
Priority: ---    
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows   
Chart Series: --- Delphi / C++ Builder RAD IDE Version:

Description david berneda 2017-02-23 04:02:24 EST
When this property is true:

  TeeGrid1.Selected.ScrollToView:=True;

scrolling a grid (using the scrollbars for example), do not changes the selected cell 100% perfect.

Sometimes it reverses up and down, or selects a cell outside the visible ones.

The code responsible is:

Tee.Grid.RowGroup.pas unit, method: procedure TRowGroup.AutoScroll

The problem might be we're not passing the "direction" of the scroll (eg: up or down). Direction is important to determine if the cell to be selected must be at the top or bottom row.
Comment 1 david berneda 2017-02-23 10:04:33 EST

*** This bug has been marked as a duplicate of bug 1799 ***