Calvin,
>I looked at the file you referenced and though it mostly works it still has some major problems. I posted this in your section by mistake - this is a general .NET problem. After looking at the code sample we have some ideals about how to do this efficiently, so that we can provide an input mask like VFP's and make the subclassed input box work like VFPs. Oh joy, I will be able to type in numbers correctly again !!!
It *is* sad, isn't it? This is why third-party control companies make great money. Most of these companies have controls that actually handle numeric input!
Best Regards,
Kevin McNeish
Eight-Time .NET MVP
VFP and iOS Author, Speaker & Trainer
Oak Leaf Enterprises, Inc.
Chief Architect, MM Framework
http://www.oakleafsd.com