svn path=/trunk/mcs/; revision=62544
controls to "override" OnGotFocus and change focus behavior if
needed.
- Same thing for LostFocus
+ * ComboBox.cs: Pass off focus to the text control properly.
2006-07-12 Alexander Olk <alex.olk@googlemail.com>
[EditorBrowsable(EditorBrowsableState.Advanced)]
protected override void OnGotFocus (EventArgs e) {
- has_focus = true;
Invalidate ();
+ textbox_ctrl.Focus ();
+ base.OnGotFocus (e);
}
[EditorBrowsable(EditorBrowsableState.Advanced)]
protected override void OnLostFocus (EventArgs e) {
- has_focus = false;
- Invalidate ();
+ base.OnLostFocus (e);
}
protected override void OnHandleCreated (EventArgs e)