<div dir="ltr">Hola a todos.<div><br></div><div>Estoy retomando un proyecto que esta en producción y quisiera validar el ingreso en un TextBox según la configuración regional de windows XP </div><div><br></div><div>Ejemplo si  en un TextBox digito 14.50 este automáticamente remplace el formato según la configuración regional, según el ejemplo esto debería quedar 14,50</div>
<div><br></div><div>intente con este ejemplo</div><div><br></div><div><b style="color:rgb(0,0,0);font-family:'Courier New';background-color:rgb(250,250,250)">var</b><br style="color:rgb(0,0,0);font-family:'Courier New';background-color:rgb(250,250,250)">
<span style="color:rgb(0,0,0);font-family:'Courier New';background-color:rgb(250,250,250)">  formatSettings : </span><font color="#C00000" style="font-family:'Courier New';background-color:rgb(250,250,250)"><b>TFormatSettings</b></font><span style="color:rgb(0,0,0);font-family:'Courier New';background-color:rgb(250,250,250)">;</span><br style="color:rgb(0,0,0);font-family:'Courier New';background-color:rgb(250,250,250)">
<b style="color:rgb(0,0,0);font-family:'Courier New';background-color:rgb(250,250,250)"></b><br style="color:rgb(0,0,0);font-family:'Courier New';background-color:rgb(250,250,250)"><b style="color:rgb(0,0,0);font-family:'Courier New';background-color:rgb(250,250,250)">begin</b><br style="color:rgb(0,0,0);font-family:'Courier New';background-color:rgb(250,250,250)">
<br style="color:rgb(0,0,0);font-family:'Courier New';background-color:rgb(250,250,250)"><span style="color:rgb(0,0,0);font-family:'Courier New';background-color:rgb(250,250,250)">  GetLocaleFormatSettings(LOCALE_SYSTEM_DEFAULT, formatSettings);</span><br style="color:rgb(0,0,0);font-family:'Courier New';background-color:rgb(250,250,250)">
<b style="color:rgb(0,0,0);font-family:'Courier New';background-color:rgb(250,250,250)"></b><br style="color:rgb(0,0,0);font-family:'Courier New';background-color:rgb(250,250,250)"><br style="color:rgb(0,0,0);font-family:'Courier New';background-color:rgb(250,250,250)">
<span style="color:rgb(0,0,0);font-family:'Courier New';background-color:rgb(250,250,250)">  ShowMessage('1234.56 formats as = '+</span><br style="color:rgb(0,0,0);font-family:'Courier New';background-color:rgb(250,250,250)">
<span style="color:rgb(0,0,0);font-family:'Courier New';background-color:rgb(250,250,250)">              CurrToStrF(1234.56, ffCurrency, 4, formatSettings));</span><br style="color:rgb(0,0,0);font-family:'Courier New';background-color:rgb(250,250,250)">
<b style="color:rgb(0,0,0);font-family:'Courier New';background-color:rgb(250,250,250)">end;</b><br></div><div><b style="color:rgb(0,0,0);font-family:'Courier New';background-color:rgb(250,250,250)"><br></b></div>
<div><b style="color:rgb(0,0,0);font-family:'Courier New';background-color:rgb(250,250,250)">pero no tengo buenos resultados.</b></div><div><b style="color:rgb(0,0,0);font-family:'Courier New';background-color:rgb(250,250,250)"><br>
</b></div><div><b style="background-color:rgb(250,250,250)"><font color="#000000" face="Courier New">me conformo que la validación se realice al sacar el cursor del TextBox</font></b></div><div><b style="background-color:rgb(250,250,250)"><font color="#000000" face="Courier New"><br>
</font></b></div><div><b style="background-color:rgb(250,250,250)"><font color="#000000" face="Courier New">Saludos.</font></b></div><div><br clear="all"><div>-------------------<br>Abraham Montaño<br><a href="mailto:abraham.montano@gmail.com" target="_blank">abraham.montano@gmail.com</a><br>
Chiclayo - Perú<br><div>---------------------</div></div>
</div></div>