E
Enrico Bizzarri
Hi all,
i've the following code:
Private Sub TabControl1_SelectedIndexChanged(ByVal sender As Object, ByVal e
As System.EventArgs) Handles TabControl1.SelectedIndexChanged
If TabControl1.SelectedIndex = 1 Then
txtArtCodice.Focus()
End If
End Sub
Well the focus work fine, but there's something that picks the focus. In
fact I've immediately the lostfocus event.
I want txtArtCodice focus when user goes to tabPage2
How can I do it?
TIA
Enrico
i've the following code:
Private Sub TabControl1_SelectedIndexChanged(ByVal sender As Object, ByVal e
As System.EventArgs) Handles TabControl1.SelectedIndexChanged
If TabControl1.SelectedIndex = 1 Then
txtArtCodice.Focus()
End If
End Sub
Well the focus work fine, but there's something that picks the focus. In
fact I've immediately the lostfocus event.
I want txtArtCodice focus when user goes to tabPage2
How can I do it?
TIA
Enrico