>Hi everybody,
>
>We have a login form with two textboxes and two command buttons (Login and Cancel). User types user name, presses Enter, cursor moves to password, he types it, presses Enter and the cursor goes to Login button, but doesn't fire the click, so user has to press Enter button again.
>
>Do you know, how can we exclude the necessaty of this additional click?
>
>Thanks in advance.
this.parent.cmdLogin.Click()
Nick Neklioudov
Universal Thread Consultant
3 times Microsoft MVP - Visual FoxPro
"I have not failed. I've just found 10,000 ways that don't work." - Thomas Edison