Hi,
I am sorry about the lack of clarity of my first question.
Problem #1:
The problem is that the AutoComplete should not change target since it is only associated to one TextBox.
Problem #2:
Another problem exposed by this sample is the focus. Onload event of this form I set the focus on the TextBox2:
private void Form1_Load(object sender,EventArgs e) {
this.autoCompleteTextBox2.Focus();
}
The focus is still set to the TextBox1
I attach a sample this time to make the two problems clearer. The focus and the target changing are a show stopper to uses your AutoComplete control. They are a part a complex UI changing the focus from one textbox to another when an AutoSelect entry is selected.
To see the full impact of the problems click (not tab) on the second TextBox to set the focus on TextBox2.
TargetChanging.zip