mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-07-15 04:55:57 +02:00
Select cell when it's content is deleted by VK_Delete
git-svn-id: trunk@37399 -
This commit is contained in:
parent
3a65d68767
commit
0d005db507
@ -6625,11 +6625,11 @@ begin
|
||||
if not FEditorKey and EditingAllowed(FCol)
|
||||
and (Editor is TCustomEdit) and not (csDesigning in ComponentState)
|
||||
then begin
|
||||
EditorShow(True);
|
||||
EditorShow(False);
|
||||
TCustomEdit(Editor).Text:='';
|
||||
ResetEditor;
|
||||
InvalidateCell(FCol,FRow,True);
|
||||
SelectCell(FCol,FRow); // This does not really select the cell. Why?
|
||||
EditorShow(True);
|
||||
Key := 0;
|
||||
end;
|
||||
end;
|
||||
if FEditorKey then
|
||||
|
Loading…
Reference in New Issue
Block a user