Subject RE: [IBO] IBO4_5_Ah_Full, IB_Grid decimal separator management broken
Author Jason Wharton
Thank you, I will double check the user contributions and make sure I merged
them correctly. I probably did something wrong in my merge.

About the decimal separator, what do you recommend be done to resolve this
while also still being flexible as the person desired?

Thanks,
Jason


> -----Original Message-----
> From: Marco Menardi [mailto:mmenaz@...]
> Sent: Friday, November 26, 2004 11:18 AM
> To: IBObjects@yahoogroups.com
> Subject: [IBO] IBO4_5_Ah_Full, IB_Grid decimal separator management
> broken
>
>
>
>
> Hi Jason :)
> IBO4_5_Ah_Full.zip, Delphi 6
>
> Your modification in IB_Grid.pas code for managing decimal separator
> is broken, now if I enter the "." in my numeric keyboard is no longer
> converted in ",", and so is not accepted for the numeric field.
> You have now:
> if (SelectedField.IsNumeric) and (Key in ['.', ',']) and
> not (Key in [DecimalSeparator, ThousandSeparator]) then
> Key := DecimalSeparator
>
> In Italy we have "," as decimal separator, but "." as thousand
> separator. Unfortunatly, our numeric keypad has ".", so it has to be
> translated by program code (Windows is too lazy for that).
> So "not (Key in [DecimalSeparator, ThousandSeparator])" is always
> false, and no conversion is applied.
>
> In addition, there is a minor error in the italian constant
> translation, that makes the compilation impossible:
> you have:
> M_SB_REC_CNT = 'Record contati: %d'
> without a final ";"
>
> Best regards
> Marco Menardi
>
>
>
>
>
>
> ------------------------ Yahoo! Groups Sponsor
> --------------------~-->
> Make a clean sweep of pop-up ads. Yahoo! Companion Toolbar.
> Now with Pop-Up Blocker. Get it for free!
> http://us.click.yahoo.com/L5YrjA/eSIIAA/yQLSAA/PhFolB/TM
> --------------------------------------------------------------
> ------~->
>
> ______________________________________________________________
> _____________
> IB Objects - direct, complete, custom connectivity to
> Firebird or InterBase
> without the need for BDE, ODBC or any other layer.
> ______________________________________________________________
> _____________
> http://www.ibobjects.com - your IBO community resource for
> Tech Info papers,
> keyword-searchable FAQ, community code contributions and more
> !
> Yahoo! Groups Links
>
>
>
>
>
>
>
>