From 43b55bf526a0b7a4c0352dd6934f989ee80c2e67 Mon Sep 17 00:00:00 2001 From: juha Date: Thu, 17 May 2012 19:03:08 +0000 Subject: [PATCH] LCL: Prevent also Insert and PrintScreen keys from entering '?' to a cell git-svn-id: trunk@37309 - --- lcl/grids.pas | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lcl/grids.pas b/lcl/grids.pas index b9f3922a4c..ee68441e9d 100644 --- a/lcl/grids.pas +++ b/lcl/grids.pas @@ -6540,10 +6540,10 @@ begin Relaxed := not (goRowSelect in Options) or (goRelaxedRowSelect in Options); case Key of - // Ignore solo Shift or Control keys. Why they come here? + // Ignore solo Shift or Control keys. Why they come here anyway? VK_SHIFT, VK_CONTROL, // VK_F2 is used later for editing the cell. VK_F1, VK_F3, VK_F4, VK_F5, VK_F6, VK_F7, VK_F8, VK_F9, VK_F10, VK_F11, VK_F12, - VK_MENU, VK_HELP, VK_LWIN, VK_RWIN: + VK_MENU, VK_HELP, VK_LWIN, VK_RWIN, VK_PRINT, VK_INSERT : Key := 0; VK_TAB: if goTabs in Options then begin