Good evening Accessors.
I Only work on this project occasionally and have just seen this odd action. I had noticed it before but not realised what I was seeing.
I have a small form being used as a dialog box, a log in box. It has a textbox for user name, a textbox for password and an OK button. I also have a small table with a couple of test users details.
I enter a username. Tab to Passwork, OK.
I enter a password. Tab to OK button... fail. Note the OK button has not yet been pressed.
The fail is that I suddenly I get the content of another record from the users table populating the textboxes where a nanosecond ago was the text the user had entered. Why?
If I use the mouse to click on the OK button the text doesn't change.
If I try different entries from the table it always goes to an entry further down, including a non existant entry it shows as *deleted*.
I've searched my code for any references to the "boxInputUserName.Value" and there is only two. One clears the value to ensure nothing is left between sessions and the other reads the value for processing. I have not written any code that writes to these box's.
So, what code *is* called when the tab button is pressed? I have NO routines written for the tab button. All my code starts once the OK button is pressed, but the change happens before that so I can't even set a breakpoint and follow it!
Can anyone advise please? I'm (easily) confused. Thanks.