Bound ComboBox to display blank first line

  • Thread starter Thread starter Jesse Villani
  • Start date Start date
J

Jesse Villani

Hi All,

Just wondering if anyone knows if it is possible to startup a windows form
with a comboBox that is bound to a dataset which starts off as having a
blank line. ie. the user has to choose an option before all the info
appears and not just goto the first record automatically.

I currently have a comboBox that is bound and starts off at the first
record.

Thanks,
Jesse
 
* "Jesse Villani said:
Just wondering if anyone knows if it is possible to startup a windows form
with a comboBox that is bound to a dataset which starts off as having a
blank line. ie. the user has to choose an option before all the info
appears and not just goto the first record automatically.

Set the 'SelectedIndex' property of the control to -1 twice.
 
Scanned the doc. There are some things I agree with you on, and you will
likely see some in the future. Version 1.0 was a fight, as traditional VBers
fought for old style coding, saying they could not upgrade without them.
Then, very few projects were upgraded. Microsoft gave in on some issues, but
reverted back on others.

There are some things in your critique that I will disagree with rather
strongly, but I will post a bit later.

NOTE: hate the pop ups. ;->

--
Gregory A. Beamer
MVP; MCP: +I, SE, SD, DBA

**********************************************************************
Think Outside the Box!
**********************************************************************
 
Back
Top