[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now


Any way to reduce the width of the button on a Combo Box?

Posted on 2006-05-20
Medium Priority
Last Modified: 2010-08-05
I need several values in a row, each changeable with a ComboBox drop-down. The standard width is about twice as wide as I'd like it to be. Is it changeable?

The ideal would be like on a ToolStripDropDown - they're nice and narrow.

Thx if you can help!
Question by:Flying-Kiwi
  • 2
  • 2
LVL 64

Expert Comment

by:Fernando Soto
ID: 16724424
Hi  Flying-Kiwi;

At design time you can change the Size attribute to the size you want. In the properties window click on the + sign next to Size to expose the Width and Height attributes, change width to what value you need. At run time you can do it this way:

    ComboBox1.Size = New Size(60, 21)

Where 60 is the new Width and 21 is the new Height.


Author Comment

ID: 16724512
Ah poo, I missed one critical thing in my question - it's the size of the actual 'down-arrow' button I'd like to change, to make it narrower.
LVL 64

Accepted Solution

Fernando Soto earned 1500 total points
ID: 16725002
There is no attribute to change the size of the down arrow in the combo box. If you wanted to do that you would have to create a user control that inherits from the ComboBox and do the painting of the control your self. A lot of work to reduce the size of the arrow button.


Author Comment

ID: 16725168
Thx, I feared so. :-(

Featured Post


Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Parsing a CSV file is a task that we are confronted with regularly, and although there are a vast number of means to do this, as a newbie, the field can be confusing and the tools can seem complex. A simple solution to parsing a customized CSV fi…
Calculating holidays and working days is a function that is often needed yet it is not one found within the Framework. This article presents one approach to building a working-day calculator for use in .NET.
This lesson discusses how to use a Mainform + Subforms in Microsoft Access to find and enter data for payments on orders. The sample data comes from a custom shop that builds and sells movable storage structures that are delivered to your property. …
Is your OST file inaccessible, Need to transfer OST file from one computer to another? Want to convert OST file to PST? If the answer to any of the above question is yes, then look no further. With the help of Stellar OST to PST Converter, you can e…
Suggested Courses

834 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