title: How to change decimal separator for numeric key in my Delphi application?
body: <p>In my country the decimal separator is "<strong>,</strong>". One of my clients would like to have it as a "<strong>.</strong>" character. What should I do to change decimal separator to "<strong>.</strong>"?</p>
  
  <p>I've tried this:</p>
  
  <pre><code>procedure TfrmMain.FormCreate(Sender: TObject);
  begin
    DecimalSeparator := '.';
    Application.UpdateFormatSettings := True;
  end;
  </code></pre>
  
  <p>But this code helps only partialy. I see the "<strong>.</strong>" in gird in float fields. However, when user press on numeric keybord a "<strong>.</strong>" key, the comma is send despite the settings.
  This is problem not related to the grid, I've checked this on KeyPress event on the form.</p>
  
  <p>I am using Delphi 2007, thanks for your help.</p>