title: Advanced validation for stringGrid input in delphi
body: <p>I have a string grid where each columns have a different type of validation. For example, the first column accepts strings which match this regular expression <code>[0-9]+[U-Wu-w]</code> The second and third column accepts only float numbers. I know there are many <em>advanced tables</em> which can be buy in the market, but that is a no go for me (in fact, my boss is against using anything that doesn't come with the delphi standard library) but I manage to use <a href="http://www.regular-expressions.info/delphi.html" rel="nofollow">TPerlRegex</a> after I show it was included in the newest versions.</p>
  
  <p>If there is no straightforward way, what is the code for the validations? assuming that after each change the real numbers will be assigned to a variable of type double and then repainted? (which makes me loose the decimal separators)</p>
  
  <p><strong>EDIT:</strong>
  I should have written that the table represents values of some structures and this values should be setted only when the string matches the expressions.</p>