Displaying 1 result from an estimated 1 matches for "textfield_r".
Did you mean:
textfield
2008 Nov 11
3
FXTextField and number of digits after decimal point
...TEXTFIELD_INTEGER, like below, I get only three digits
after the decimal point.
@value_sel = FXDataTarget.new(@value)
@value_value = FXTextField.new(@matrix_mem_value, 20, at value_sel,
:opts =>TEXTFIELD_INTEGER|JUSTIFY_RIGHT, :selector =>
FXDataTarget::ID_VALUE)
If I use a TEXTFIELD_REAL, I get only seven digits after the decimal
point.
My question is: Is there a way to use either a TEXTFIELD_INTEGER or a
TEXTFIELD_REAL without losing digits after the decimal point?
Note: the number I use for testing purpose is 400.12345678.
Thanks in advance for any hint.
Cheers,
Mich?l...