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 - Selected.ScrollToView not working 100% perfect
Summary: Selected.ScrollToView not working 100% perfect
Status: RESOLVED DUPLICATE of bug 1799
Alias: None
Product: TeeGrid for Delphi
Classification: Unclassified
Component: Grid (show other bugs)
Version: unspecified
Hardware: PC Windows
: --- enhancement
Target Milestone: ---
Assignee: david berneda
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-02-23 04:02 EST by david berneda
Modified: 2017-02-23 10:04 EST (History)
0 users

See Also:
Chart Series: ---
Delphi / C++ Builder RAD IDE Version:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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 ***