• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 215
  • Last Modified:


How do I make the combo box drop down when I type in it?
  • 2
1 Solution
on kepress cant u change the combo box style? or just select the first row and it will drop down
fly412sAuthor Commented:
I could change the combo box style.  But I can't find which style to change it to.  I've selected all 3 styles in the dropdownstyle property box but none of them do what I want.  Also, I do not want to select the first row because the whole point is to allow the matching value to be shown in the combo box when it is typed into the combo box (sort of like the index textbox in visual studio's help page).
In KeyDown Event, set DroppedDown property to true

            private void comboBox1_KeyPress(object sender, System.Windows.Forms.KeyPressEventArgs e)
                  this.comboBox1.DroppedDown = true;

S Sansanwal
fly412sAuthor Commented:
S Sansanwal-

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now