> On Form Load Setting focus to a specific field does not work { I guess
becuase the handle is not created yet}
No - the controls have already been created; you can't set focus because the
controls are still invisible.
Activated changes the focus 'every' the form gets activated which in my
case is undesirable.
you're on track. You can use a boolean to tell you whether this is the first
time a form is activated.
something like this:
Private bFirstTimeActivated as boolean
Private Sub Form1_Activated(ByVal sender As Object, _
ByVal e As System.EventArgs) Handles MyBase.Activated
If Not bFirstTimeActivated Then
MyControl.Focus()
bFirstTimeActivated = True
End If
End Sub
hope that helps..
Imran.