ComboBox VB6 Change Size on Click
Posted on 2004-09-01
I'm working with a form and I want to be able to change the size of the ComboBox so the entire contents can be read, but once a value is selected, the size of the combobox returns to fit into the form.
Ex. 123 - Piggly Wiggly Waffers
The comboBox should only be large enough to show 123 because of size constraints on the form, but when you click the down arrow you can see everything in the test box - 123 - Piggly Wiggly Waffers [the combobox expands to hold the size of the contents only when the user goes through the combobox]
Can this be done, I know in a delphi application I use the programmer did what I'm trying to do. I appreciate your help in advance.