Martin
"Martin Hazell" <please...@to.group> wrote in message
news:082f01c313d9$14d4d7b0$a401...@phx.gbl...
Thanks for your help anyway.
Martin
>.
>
These are all properties. Again I dont know if these will work for sure but
its a palce to start.
"Martin Hazell" <please...@to.group> wrote in message
news:08e201c313f0$86088550$a501...@phx.gbl...
"Dave Quigley" <mer...@countercultured.net> wrote in message
news:e1iy2z$EDHA...@TK2MSFTNGP11.phx.gbl...
"Jude Regy" <jr...@rogers.com> wrote in message
news:a9Vta.106263$w7k....@news04.bloor.is.net.cable.rogers.com...
I have tried all of these to no avail. Unfortunatly, it
won't let me insert an item directly into the combo-box
because it is bound to a datasource. Also when setting
the selected index/item/value to 0, -1 or null, it
automatically moves to the next valid position - ie the
first item. I have also tried to set Text = "" on the
form load, but that doesn't work either.
Thanks for all your help
Martin
>.
>
There seems to be a problem with the SelectedIndex.
What I do is execute the same code twice and it gets set to -1. The
value in the DB is going to be null when the SelectedIndex is -1.
myComboBox.SelectedIndex = -1;
myComboBox.SelectedIndex = -1;
Hope this helps.
HyperX.