I have the validation almost working and need to return the focus to the date control, after the user clicks OK on the error messagebox.. When the user types an invalid date into the text field I display an error message saying "You have entered an invalid date". This works okay. But after clicking the OK button, I'd like to put focus back onto that control with the faulty date.
How can I do this?