06-22-2025, 01:42 AM
@KernelPanic
about
Yes you can read the value from string Text(ControlID) but it cannot be set until it is NTB
in the meanwhile you can read the value of control from Control(ControlID).Value and you can set it assigning a numeric value.
A little Hacking would be to transform in the code the NTB (Numeric TextBox) into TB (TextBox) but I cannot imagine why I design a NTB and then I convert it into a TB for assigning a value via Text(ControlID). In this case, if I prefer, I design a TB for using as numeric input box.
about
Quote:Text(txtErgebnis) = __UI_StrUsing$("###.##",this doesn't work because it is a NumericTextBox (NTB) so (the control) it accepts only numeric values...
Yes you can read the value from string Text(ControlID) but it cannot be set until it is NTB
in the meanwhile you can read the value of control from Control(ControlID).Value and you can set it assigning a numeric value.
A little Hacking would be to transform in the code the NTB (Numeric TextBox) into TB (TextBox) but I cannot imagine why I design a NTB and then I convert it into a TB for assigning a value via Text(ControlID). In this case, if I prefer, I design a TB for using as numeric input box.

