TNumberBox does not limit the input based on the min max values.The min max values are only applied after the control loses focus.This is contrary to the docwiki page found here,..
"Change the value of the Max item from the Object Inspector at the left to change the maximum value the TNumberBox object allows to be typed in.
Change the value of the Min item from the Object Inspector at the left to change the minimum value the TNumberBox object allows to be typed in."
In addition, when you left click and drag in the control the value changes. Drag right and the value increases, stopping at the max value. Left causes the value to be decreased. Is this actually by design? If so how can I disable this?
Is it possible to change the behavior to simply accept a floating point number without defining decimal digits or min max values? Also, anyway to remove trailing zeros? i.e. instead of seeing 1.00 display 1?
To remove that behavior that changes values when you do certain things in the NumberBox, such as using arrow keys, just setting the vert and horz increments to zero in the IDE doesn't work, so in my FormCreate I have a pair of statements to set the increment to zero.NumberBox30.VertIncrement := 0;
NumberBox30.HorzIncrement := 0;
Yes, you have to create such pairs for each NumberBox on the form.