Since I have variable widht numbers in my masked textbox I would like to remove the empty spaces when the textbox loses focus (on display).
So for example something that on focus appears like +39__-12__-1234____ should appear like +39-12-1234 when the box loose focus and not like +39 -12 -1234
Also it seems that pressing the "del" key leaves empty spaces. In a mask like ####-#### it doesn't make much sens to have 12 4-1 34 with spaces in the middle.
Of course when you retrieve the values all this is fixed but preventing it in the input and a correct display on blur would be nice.
So for example something that on focus appears like +39__-12__-1234____ should appear like +39-12-1234 when the box loose focus and not like +39 -12 -1234
Also it seems that pressing the "del" key leaves empty spaces. In a mask like ####-#### it doesn't make much sens to have 12 4-1 34 with spaces in the middle.
Of course when you retrieve the values all this is fixed but preventing it in the input and a correct display on blur would be nice.