Ineedcoffee
Registered User.
- Local time
- Today, 18:33
- Joined
- Aug 25, 2009
- Messages
- 32
Hey,
Been trawling through the forums for the last 2 hours and I am now officially sick. I have some code when a user first logs on, it brings up a login form, when they put in their user name and password, they then have to click on the login button for it to close the login form and open a switchboard.
This works fine.
I then decided that I hate it having to hit enter twice (once to gain focus on the login button after typing password and second one to do the on click event for it) so I decided to put the code on the Got Focus event.
Now I keep getting this error. I have tried putting in a DoEvents at the end of the password code and the beginning of the login button code but it does not seem to be working.
Anyone got any idea's?
Thanks,
Ineedcoffee
Been trawling through the forums for the last 2 hours and I am now officially sick. I have some code when a user first logs on, it brings up a login form, when they put in their user name and password, they then have to click on the login button for it to close the login form and open a switchboard.
This works fine.
I then decided that I hate it having to hit enter twice (once to gain focus on the login button after typing password and second one to do the on click event for it) so I decided to put the code on the Got Focus event.
Now I keep getting this error. I have tried putting in a DoEvents at the end of the password code and the beginning of the login button code but it does not seem to be working.
Anyone got any idea's?
Thanks,
Ineedcoffee