Simpler way is to check if the string is made only of numbers, and to check the lenght of the entered string...
But that is only done on the text changed event...
To restrick the input itself, I guess some workaround is possible, but a custom DLL would be more eficient...
... sometimes it may be good to have an alternative ...I was almost sure that the wheel had already been invented....But still I was going for it...