I have a TextEdit and need to limit its input to the following type of formats:
- 00.000
- 0.000
- 00.00
- 0.00
- ...
There can be up to 3 decimal places. Integer part is not required.
The closest thing I've found is MaskType = Numeric
with ###.###
mask. However, this doesn't accept all zeros, which is a requirement.
Any suggestions?
ADD: I'm thinking of 0{0,3}\.0{0,3}
with MaskType = RegEx
. Is it a suitable choice?
Check XtraEditor's Mask Type: Numeric. you are setting wrong edit mask. on the place of
###.###
use000.000
. Check the custom mask section on the specified link.