How to remove Mask in Delphi from a MaskEdit

1

I need to remove the dot and dash of a MaskEdit in Delphi. The mask is ##. ### - ##

    
asked by anonymous 12.07.2016 / 17:34

1 answer

3

If you are mounting the mask like this: ##. ### - ##; 1; _ Home That means he's saving the characters literally.
To prevent this, use zero instead of 1, like this: ##. ### - ##; 0; _ Home That way only numbers will be considered.

    
12.07.2016 / 17:38