Flying-Kiwi
asked on
Any way to reduce the width of the button on a Combo Box?
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!
The ideal would be like on a ToolStripDropDown - they're nice and narrow.
Thx if you can help!
ASKER
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.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Thx, I feared so. :-(
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.
Fernando