whatisahandle
Programmer
Hi,
I would like to do a validation on a field an prevent the user from leaving it if the validation is unsuccessful.
To do this I do a setFocus on the current field in the Sub "txtPassword_Exit" event. But it does not work, the cursor goes to the next field anyway.
What is the standard way of doing this (keeping the focus on the current field) ?
Thanks,
Chris
I would like to do a validation on a field an prevent the user from leaving it if the validation is unsuccessful.
To do this I do a setFocus on the current field in the Sub "txtPassword_Exit" event. But it does not work, the cursor goes to the next field anyway.
What is the standard way of doing this (keeping the focus on the current field) ?
Thanks,
Chris