In the constructor, I did the following:
SetStyle (ControlStyles.Selectable, true);
and also override the OnMouseDown method:
protected override void OnMouseDown(MouseEventArgs e)
{
base.OnMouseDown(e);
if (this.CanSelect) this.Select();
}
. TextBox , ...