How to make a combo box like Visual Basic?

Asked By 10 points N/A Posted on -

I have a defined list. It should be allowed to type starting letters and filter the list by that letter typed, just like the Combo box in Visual Basic. Now I have to scroll the all data and it is very difficult as the list is very long. 

Please help me. 

Thanks in advance.

Answered By 0 points N/A #93173

How to make a combo box like Visual Basic?


If you are using VB.NET, the following are the guidelines you will need for creating a combo box:

  • First you will open Visual Basic and then create a new project.
  • Thereafter you will add a button to your new form, and then you will locate the Combo Box on the Visual Basic .NET toolbar as follows:
  • ComboBox
  • You will thereafter double click the icon so ad to add the Combo Box to your form.
  • The combo box is meant to limit the choices the user will have, and therefore you will need to set it up to do that as follows:
  • You will need to click on your Combo Box, and then you will locate the Item property from the Properties Box:
  • After that you will need to click the gray button, and then using the String Collection Editor, you will type an item and press Return.
  • You will need to Enter several items, and click the OK button at the bottom to close the editor.
  • You can now run the program and test out your new Combo Box.

-Chalk Talk

Login/Register to Answer

Related Questions