In Delphi 2010, I need to display a grid with a horizontal scrollbar with about 15 columns x 5 rows.
I decided to use StringGrid.
However, when the mouse button is not pressed by dragging the horizontal scroll bar, I want the grid to scroll in real time .
The StringGrid component doesn't seem to scroll in real time. It waits until the mouse button is released before updating the column and scrolling, if necessary.
Also, the horizontal scrollbar button (this is what she called) is not proportional to the number of columns. And for the down arrow, when the bottom row moves to the top of the next column to the right ...
This seems like common needs, so I was surprised to not find them in TStringGrid.
Any suggestions on how to solve these two problems? I can use DbGrid or another standard component, but I prefer not to use a commercial grid if I can avoid it. And I'm not going to use shareware or freeware ...
TIA
source
share