Solved

Combo Box and vb.net

Posted on 2006-11-28
3
747 Views
Last Modified: 2012-06-27
How do i make the combobox dropdown list collapse upon user input. For example when the user clicks and input something in the text area for combo box, i want the drop down list within the combo box to collapse to show the already included items.


0
Comment
Question by:janjuama84
  • 2
3 Comments
 
LVL 10

Expert Comment

by:Kinger247
Comment Utility
could try :

   Private Sub ComboBox1_GotFocus(ByVal sender As Object, ByVal e As System.EventArgs) Handles ComboBox1.GotFocus
        ComboBox1.DroppedDown = True
    End Sub
0
 
LVL 23

Accepted Solution

by:
apresto earned 500 total points
Comment Utility
private void comboBox_TextChanged(object sender, EventArgs e)
        {
            cb.DroppedDown = true;
        }

thats the c# for it anyway for when you enter text
0
 
LVL 23

Expert Comment

by:apresto
Comment Utility
please disregard my comment - apologies Kinger, didnt think to refresh :o)
0

Featured Post

Find Ransomware Secrets With All-Source Analysis

Ransomware has become a major concern for organizations; its prevalence has grown due to past successes achieved by threat actors. While each ransomware variant is different, we’ve seen some common tactics and trends used among the authors of the malware.

Join & Write a Comment

Article by: Kraeven
Introduction Remote Share is a simple remote sharing tool, enabling you to see, add and remove remote or local shares. The application is written in VB.NET targeting the .NET framework 2.0. The source code and the compiled programs have been in…
It’s quite interesting for me as I worked with Excel using vb.net for some time. Here are some topics which I know want to share with others whom this might help. First of all if you are working with Excel then you need to Download the Following …
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…
In this tutorial you'll learn about bandwidth monitoring with flows and packet sniffing with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're interested in additional methods for monitoring bandwidt…

762 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now