Login Form
Hi
I am building an application and as part of it I am implementing a login form as described in the book.
The code I have is copied directly from the text book with the only modifications being some names.
If I type in a User name and a password and then click ok, the code goes away and validates the user correctly. However, then it just sits there. Looking at your sample code, I don't see what is supposed to happen?, that is, int the btn_ok click event, there is no code to close the form down... I am obviously missing something here.
It will only work correctly if I type in the userid and then the password and then hit the "Enter Key".
Also, while I see code that counts the number of times a user attempts to login, there doesnt appear to be any event to verify more than 3 attempts and close the form down?
The code I am referring too is in chapter 12, pages 404 - 406.
I have looked through the errata and there is nothing that I can see there. Do you have any idea as to what I am missing?
thanks
|