Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 3851922
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 19, 20262026-05-19T17:14:15+00:00 2026-05-19T17:14:15+00:00

In VB.NET for the combo box, I have set the autocomplete mode to SuggestAppend

  • 0

In VB.NET for the combo box, I have set the autocomplete mode to “SuggestAppend” and autocomplete source to “ListItems”. Its working as expected. But the width of the autosuggest dropdown box is not same as that of combo box and so it looks weird.

I tried changing the value dropdown width property but it changes the value of normal dropdown box (seen after clicking down arrow on combobox), and not the autosuggest dropdown box.

So what code or property needs to be set to make autosuggest dropdown box the same width as that of combobox width?
This image shows difference between the width of autosuggest dropdownbox and that of combobox width

This images show normal dropdown box , width of which is controlled by dropdown width propery of combobox

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-19T17:14:16+00:00Added an answer on May 19, 2026 at 5:14 pm

    Look real closely and you’ll notice that its width is user-customizable. The resizing grip at the lower right corner is the dead giveaway:

         resizing grip indicated with a freehand circle

    There’s no built-in option to specify the width, and that’s by design. Under the covers, the ComboBox control actually uses the SHAutoCompleteAPI function to implement this functionality. The auto-suggest box always displays with the last width chosen by the user. It can just as easily appear much larger than the width of the combo box.

    If you really wanted to do this, you could subclass the ComboBox control, P/Invoke a bunch of functions from the Windows API, and get the handle to the auto-suggestion box window, which you could then resize. But the code is ugly, and it’s hardly worth the trouble. Sample code is available on this thread.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

It seems like when you have a WinForms .NET application, and a ComboBox (set
I have searched, but nothing happens, I just starting using C#.NET and I a
In VB.NET, I have a Combobox on a WinForm form. The form allows the
In .net, I have an inherited control: public CustomComboBox : ComboBox I simply want
I am working with GXT to develop a web application. But I am finding
Does Telerik has a plan to make ASP.NET MVC's combobox have a feature of
I have a combobox in vs 2010 using vb.net. What i'd like to do
I have .Net 2.0 Windows form containing combobxes. I have written following code to
.NET Framework: 2.0 Preferred Language: C# I am new to TDD (Test Driven Development).
.NET, Java and other high level database API's in various language often provide techniques

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.