Ok, for clarification, what happens if the entry
is good?
>>No, what I mean is that if in your validation code if your setting focus back to the textbox when it doesn't contain a valid number the Quit button won't be able to get focus unless a valid entry is made.
>Sounds about right. I want the focus to go to the textbox automatically rather then force the user click on it manually and produce a cursor. So again, my objective is to keep the focus in the textbox until a good entry is provided by the user and at the same time, allowing him to click on the 'Quit' cmbbutton any time to abort the whole thing. PS when the textbox is filled, he hits enter to proceed like he does in the DOS version. Thanks!
kenweber
GCom2 Solutions
Microsoft Certified Professional