Xojo Open Source: Phone Formatting Textfield

I have built a custom control subclassed from a textfield to properly format NANP (10-Digit) Phone Numbers properly in Xojo Desktop projects for OS X and Windows. This project supports the same formatting on copy and paste or via keystrokes. This implementation supports max one phone number, but this can be easily extended.

2 Likes