Displaying 1 result from an estimated 1 matches for "value_sel".
2008 Nov 11
3
FXTextField and number of digits after decimal point
Hello,
Here''s the context:
I read a number either pure integer or float with eventually up to 12
digits after the decimal point from a YAML file.
The number is injected into a FXTextField with the following code:
@value_sel = FXDataTarget.new(@value.to_s)
@value_value = FXTextField.new(@matrix_mem_value, 20, at value_sel,
:opts =>TEXTFIELD_NORMAL|JUSTIFY_RIGHT, :selector =>
FXDataTarget::ID_VALUE)
where @value is the number as read from the YAML file.
If I use a TEXTFIELD_NORMAL, I get all the di...