Tony,
Control.Focus doesn't work if the control is invisible. During OnLoad no
controls are visible, so Focus() doesn't work.
If you use .NET 2.0 you can do that during Shown event.
For all versions instead calling control3.Focus() in the Load event handler
you can do:
this.ActiveControl = control3;
where *this* is the form.
Forst solution is only for .NET 2.0 the second is for all versions of .NET.

Signature
Stoitcho Goutsev (100)
> Based on data present when I load a form, I need to be able to set focus
> to a specific control.
[quoted text clipped - 11 lines]
> Thanks,
> Tony
Tony - 23 Feb 2006 16:22 GMT
The ActiveControl property worked, I don't recall ever seeing that for some
reason.
Thanks,
Tony
> Tony,
>
[quoted text clipped - 26 lines]
>> Thanks,
>> Tony