Class: Wx::NumValidatorStyle
- Inherits:
-
Enum
- Object
- Enum
- Wx::NumValidatorStyle
- Defined in:
- lib/wx/doc/gen/num_validator.rb
Overview
Bit masks used for numeric validator styles.
A combination of these flags can be used when creating IntegerValidator and FloatingPointValidator objects and with their SetStyle() methods.
Category: Validators
Constant Summary collapse
- NUM_VAL_DEFAULT =
Indicates absence of any other flags.
Wx::NumValidatorStyle.new(0)
- NUM_VAL_THOUSANDS_SEPARATOR =
Use thousands separators in the numbers.
Wx::NumValidatorStyle.new(1)
- NUM_VAL_ZERO_AS_BLANK =
Show a value of zero as an empty string.
Wx::NumValidatorStyle.new(2)
- NUM_VAL_NO_TRAILING_ZEROES =
Remove trailing zeroes from the fractional part of the number.
Wx::NumValidatorStyle.new(4)