Just used your code. Seems to work very well. Thanks. Wonder if there is an updated version. Is there? The only thing so far that I think I would change is to have the input cursor placed at the first type in char. For example, if the mask is "(999) 999-9999", I would have the input cursor positioned at the first "9", so the user can immediately start typing. This would be great functionality to have added to GXT. Thanks