ComboBox Text property (repost)

  • Thread starter Thread starter Graeme Richardson
  • Start date Start date
G

Graeme Richardson

Hi, how can I get the Text value of a ComboBox when I type a new value into
it while the list is open?
I'm trapping the Validated event.
If I type a new value with the ComboBox closed then everything works. I.e. I
check the ComboBox.Text property and receive the new value.
However, if I show the list and type a new value then the ComboBox.Text
property returns the previously selected value.

Thanks for any help you can offer, Graeme.
 
Graeme Richardson said:
Hi, how can I get the Text value of a ComboBox when I type a new value into
it while the list is open?


The TextChanged event will fire every time the text changes, regardless of
whether the list is dropped down or not.
 

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

Back
Top