Nadya,
This is my point exactly. Using this approach your code is going to get very complex, very quickly. This is why I do not reccomend using an EditBox in this situation. You will end up spending more time trying to get it to work properly, when you could accomplish better results using more appropriate controls and less code.
>Steven,
>
>This code works. BUT, 1) I don't want to use PUBLIC variables. I can create another class property, but it's too complicated.
>2) I also want to allow only digits, no characters.
>
>
kenweber
GCom2 Solutions
Microsoft Certified Professional