Using num keyboard period as decimal separator
Posted on 2000-03-20
In spanish the decimal separator is "," the problem is that on the Number Keypad the decimal separator send a ".".
On the other hand Delphi understands that on number fields the separatos must be "," and it doesn't allow any other char.
What I am trying to do is that when you press the deciman separator on the numeric keypad the application understand the "," instead of the ".", I have tryed to us the OnKeyDown event, but it seems to detect the key before that events ocurs.
I have seen MS Excel to do it correctly. Any ideas?