Procedure MouseMove(Shift: TShiftState X: Integer Y: Integer) override įunction SelectCell(ACol, ARow: Longint): Boolean override Procedure MouseDown(Button: TMouseButton Shift: TShiftState X: Integer TScrollFixedStringGrid = class(TStringGrid) In the meantime, here’s a little unit that works around the issue. ![]() I’ve reported it to Embarcadero at RSP-18542. In my view, this is a bug that should be fixed in Delphi. This typically means that if a user clicks on a partially visible cell, they end up selecting a cell several rows or columns away from where they intended to click. Then, this couples with a timer that causes the scroll to continue as long as the mouse button is held down and the cell it is over is partially visible. Delphi’s T*Grid components have an annoying little feature whereby they will scroll the cell into view if you click on a partially visible cell at the right or the bottom of the window.
0 Comments
Leave a Reply. |