IWAdvEdit

Hi, 

Is there a way to ALSO accept "." (comma) as decimal separator like in Excel?
I need to be able to use the NumPad "." 

Please note that DecimalPoint property doesn't work for me (French). 

Thanks

Hi,


The "." key character from the NumPad is automatically replaced with a comma "," by Excel.
Unfortunately the TIWAdvEdit has no built-in functionality to replace this character and only accepts the character as defined by the DecimaplPoint property.

As a workaround you can try replacing the "." character with a comma manually by using the OnAsyncKeyUp event.
Example:   
TIWAdvEdit1.Text := StringReplace(TIWAdvEdit1.Text, '.', ',', [rfReplaceAll]);


Thanks Bart,

but I'm mistaken. I'm using IWDBAdvEdit with EditType := etFloat.
This solution doesn't work for it, either for all async modifications of value, or very slow.

Hi Didier,


Unfortunately the functionality to automatically replace the "." numpad character with a comma is currently not supported in the IWDBAdvEdit control.
I'll investigate if this feature can be added in a future version.

Thanks, 

I'll keep an eye on it.