DBGrid horizontal scrollbar strange behaviour
Original Reporter info from Mantis: robert83
-
Reporter name:
Original Reporter info from Mantis: robert83
- Reporter name:
Description:
You have a DBGRID with 2 columns, you resize column 2 to go beyond the width
of the DBGRID the horizontal scrollbar appears, you scroll to the end of the 2nd column, now you resize column 2 to it's original width, the horizontal scrollbar disappears, and you are stuck in a position in which column1 is only partially visible.
It only resets if you move up or down in the DBGRID.
Steps to reproduce:
- Add one DBGRID to form
- Add 2 columns to DBGRID ( it works with any column numbers btw.)
- Resize Column2 to exceed beyond the width of the DBGRID.width so that a horizontal scrollbar appears.
- Scroll to the end of the Column2 (now column1 is only partially visible)
- Resize column2 to original size , scrollbar disappears , you are stuck in a position where column1 is still partially visible...
* you need to move up or down in DBGrid to make it go to the start of the DBGrid again
I think that it should jump auto magically to the start of the DBGRID once you've resized column2 .
Mantis conversion info:
- Mantis ID: 26315
- OS: Windows
- OS Build: Windows 7
- Build: 44758
- Platform: Windows
- Version: 1.2.2
- Fixed in version: 1.3 (SVN)
- Fixed in revision: 45548 (#34f8e3fb)
- Target version: 1.4