Re: How do you set the ComboBox default text

  • Thread starter Thread starter Cor
  • Start date Start date
C

Cor

combobox1.index = -1

"Mike" wrote in message

When I use ComboBox1.ResetText(), it sets the ComboBox Window to all blanks.
The Properties Window shows TEXT=ComboBox1. How do I set the default Text
value for the ComboBox such that ResetText() will set the Window to the
default value? (As advertised in the help for ResetText()) . I am using
VB.Net 2003. Thanks
 
The default text is blanks, what do you mean with default text?



"Mike" wrote in message

SelectedIndex = -1 sets the window to all Blanks
 
Armin,

I assume something like

Combobox1.SelectedIndex = Combobobox1.FindStringExact("Armin")

But that is a solution not a method

Cor


"Armin Zingler" wrote in message
Am 08.11.2010 11:53, schrieb Cor:
The default text is blanks, what do you mean with default text?

"ComboBox1" - I guess.
 
Back
Top