In Windows TFloatSpinEdit responds to changes in DecimalSeparator (if you update the control).
I noticed that in Linux GTK it does not.
(I use WinMe and Suse 10.0)
Observed behaviour GTK1
- DecimalSeparator at programstart: '.' (period)
- DecimalSeparator visible in control: ',' (comma)
- Changing DecimalSeparator and updating control: no effect
Observed behaviour GTK2
- DecimalSeparator at programstart: '.' (period)
- DecimalSeparator visible in control: '.' (period)
- Changing DecimalSeparator and updating control: no effect
Observed behaviour Windows
- DecimalSeparator at programstart: ',' (comma)
- DecimalSeparator visible in control: ',' (comma)
- Changing DecimalSeparator and updating control: Decimalseparator in control changes accordingly
While this is not a big issue, currently at GTK (in my situation) the Text of TFLoatSpinEdit possibly cannot be translate back to a Float because of the mismatch in decimalsSeparators used by the control and the one in SysUtils.
Does anyone know if GTK1/GTK2 even allows setting the character used for the FloatSpinEdit control (without having to change systemwide settings)?
If so, I consider it a bug and will post it in the bugtracker. If not, well, tought luck, and I'll live with it ;-)
Bart
