I\'m creating a custom control derived from UserControl that I would like to set focus to.
The custom control contains a ComboBox control and I draw some strings bes
In some cases it is also desireable to not let the focus move to child elements of a UserControl.
In this case you also need to set ControlStyles.ContainerControl to false.
Public Sub New()
InitializeComponent()
Me.SetStyle(ControlStyles.ContainerControl, False)
Me.SetStyle(ControlStyles.Selectable, True)
End Sub