I have an event on key pressed for a TsCurrencyEdit.
When I receive a cariage return (#13), I set Key to #0 to prevent the Beep and close the form.
In the code of TsCustomNumEdit, the Key is not verified after calling inherited KeyPress(Key) to check if it has been changed and #13 is considered not being a valid character so it triggers a Beep.
Stephane Senecal
CIS Group
Delphi programmer since 2001