mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-09-01 06:01:51 +02:00
LCL, fix moving dbgrid selected field to the last one while using 'END' key and there are invisible columns, Problem 3) issue #19993
git-svn-id: trunk@39317 -
This commit is contained in:
parent
0d8b603ec0
commit
c02a423ee9
@ -2229,8 +2229,11 @@ begin
|
||||
GridFlags := GridFlags + [gfEditingDone];
|
||||
if ssCTRL in shift then
|
||||
FDatalink.DataSet.Last
|
||||
else
|
||||
MoveNextSelectable(False, ColCount-1, Row);
|
||||
else begin
|
||||
DeltaCol := GetLastVisibleColumn;
|
||||
if DeltaCol>=0 then
|
||||
MoveNextSelectable(False, DeltaCol, Row);
|
||||
end;
|
||||
GridFlags := GridFlags - [gfEditingDone];
|
||||
ClearSelection(true);
|
||||
Key:=0;
|
||||
|
Loading…
Reference in New Issue
Block a user