Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Login form - simple question
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00654315
Message ID:
00654323
Views:
20
This message has been marked as a message which has helped to the initial question of the thread.
>>>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.
>>
>>*** txtPassword.LostFocus()***
>>this.parent.cmdLogin.Click()
>>
>
>Interesting... However, what if he/she types password, then decides to go back to User ID field? :)

You just said that s/he wants the login method to fire right away after pressing Enter in a txtPassword :) You also can move this code into cmdLogin.When()

It is not really a programming problem, it is a workflow logic problem. :)
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
Previous
Reply
Map
View

Click here to load this message in the networking platform