VK_NUMPAD0 is a editable key too (issue #1730)

git-svn-id: trunk@8765 -
This commit is contained in:
vincents 2006-02-17 21:06:47 +00:00
parent 5ced41c831
commit bdfd016800

View File

@ -541,7 +541,7 @@ end;
function IsEditableTextKey(Key: Word): Boolean;
begin
Result := (((Key >= VK_A) and (Key <= VK_Z)) or
((Key = VK_NUMPAD0) and (Key <= VK_DIVIDE)) or
((Key >= VK_NUMPAD0) and (Key <= VK_DIVIDE)) or
((Key >= 186) and (Key <= 188)) or
((Key >= 190) and (Key <= 192)) or
((Key >= 219) and (Key <= 222)));