Remove Focus From A, Try setting the form's ActiveControl property to a different control.