Is there any way (preferbly non-API) which disallows the user from entering anything other than digits into a standard text box?

Thanks, Zeka