Re: How do you set the ComboBox default text

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
 
C

Cor

The default text is blanks, what do you mean with default text?



"Mike" wrote in message

SelectedIndex = -1 sets the window to all Blanks
 
C

Cor

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top