Alternatively, you may want to try TFloatSpinEdit, which is on Misc tab.
Or, if you don't need input like 1.3E12 [...]
Bart, TFloatSpinEditEx, BTW, does not accept such an input, it just swallows the "E" which can lead to unnoticed errors when the user does so and is not careful. I think there should be an option for exponential numbers.
I know, does TFloatSpinEdit accept it?
The problems is that if we allow this we can't do "validation as you type".
I will have a look when I have the time (maybe open an issue and assign it to me?).Feel free to implement this yourself though.
999999999999999980000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000.00
https://bugs.freepascal.org/view.php?id=37474
Quote from: Handoko on August 03, 2020, 04:56:00 amAlternatively, you may want to try TFloatSpinEdit, which is on Misc tab.Or TFloatSpinEditEx on the LazControls tab which has additional useful properties:UpDownVisible - false hides the updown buttonsArrowKeys - false disables incrementing/decrementing the value by the arrow keys; the controls behaves more like a normal TEditDecimalSeparator - point or comma (or anything else)text automatically right-alignedNullValue, NullValueBehaviour - specifies what happens when field is emptyLayout - move spin buttons to the leftand more...