When the form opens, the focus is on the txtRun textbox.
However, if incorrect information is entered, a label displays the error message.
Focus does not return back to the txtRun.
I am using CallSubDelayed(Me, SetFocus_txtRun)
where the code is
Sub SetFocus_txtRun
Dim bFocus As Boolean
txtRun.Text = ""
bFocus = txtRun.RequestFocus
End Sub
bFocus was added to see if true, an it is.
jumps to a combo box on the screen and not back to txtRun.
strange behavior?
what am I doing wrong?
thank you