The Valid method hat avery old trick to send the user to another control depending on your evaluation of the entry. If Valid returns a positive n, then the focus jumps n controls forward in the tab-order. Likewise you can jump backwards with a negative n.
Eugen
New Year's pledge: Last year I learned so much from my errors that I decided to make some more.