diff --git a/components/exctrls/source/exeditctrls.pas b/components/exctrls/source/exeditctrls.pas index bb60d4002..f6b9f6688 100644 --- a/components/exctrls/source/exeditctrls.pas +++ b/components/exctrls/source/exeditctrls.pas @@ -537,7 +537,7 @@ end; procedure TCustomFloatSISpinEditEx.EditKeyPress(var Key: char); begin - //allow anything for the moment + if Assigned(OnKeyPress) then OnKeyPress(Self, Key); end; function TCustomFloatSISpinEditEx.TextIsNumber(const S: String; out ANumber: Double): Boolean;