Hi,
> Hey Guys&Gals
>
[quoted text clipped - 8 lines]
> this.cbo.SelectedIndex = -1;
> this.cbo.Text = " ";
Once you set a DataSource to the ComboBox, then it's backed by a
CurrencyManager which keeps track of position. A CurrencyManager can't go
to -1 when the list isn't empty, that's what causing the problem.
In NET1.1, you can still force the ComboBox to select -1 if you call
SelectedIndex = -1 twice.
In NET2.0, it can be enough to set it once if ComboBox.FormattingEnabled is
true.
Both will only work at Form_Load (not form constructor).
HTH,
Greetings
> Sunny