|
@@ -127,14 +127,13 @@ function TFresnelWSForm.NumKeyToInputType(aKey : Integer; aShift: TShiftState; o
|
|
begin
|
|
begin
|
|
// Return true if we have a correct input type
|
|
// Return true if we have a correct input type
|
|
Result:=True;
|
|
Result:=True;
|
|
|
|
+ aType:=fitInsertText;
|
|
|
|
+ if aKey<0 then
|
|
|
|
+ exit(false);
|
|
|
|
+ if aShift*[ssShift,ssCtrl,ssAlt]<>[] then exit;
|
|
case aKey of
|
|
case aKey of
|
|
TKeyCodes.BackSpace : aType:=fitDeleteContentBackward;
|
|
TKeyCodes.BackSpace : aType:=fitDeleteContentBackward;
|
|
TKeyCodes.Delete : aType:=fitDeleteContentForward;
|
|
TKeyCodes.Delete : aType:=fitDeleteContentForward;
|
|
- else
|
|
|
|
- if aKey<0 then
|
|
|
|
- Result:=False
|
|
|
|
- else
|
|
|
|
- aType:=fitInsertText
|
|
|
|
end;
|
|
end;
|
|
end;
|
|
end;
|
|
|
|
|