How to make two columns in a combobox?

2019-09-21 08:57发布

There are two columns in his list, but after I select one item from the list, he does not show me 2 columns. How do I do that even after I choose the figure, will he continue to show me the full text of the two columns?

1条回答
我想做一个坏孩纸
2楼-- · 2019-09-21 09:45

If you're using an ActiveX Combo Box control, click the control then click Properties on the Ribbon (under Developer) and change the property called Column Count as needed.

The ActiveX control is added with the button circled in Green in the image below. The red circle is a Form Control Combo Box, which does not have a property for number of columns.

(If the Properties button is disabled, make sure the Design Mode button on the ribbon is "on", then right-click your control.)

Note that you'll also have to set "Column Widths", for example 3;3 for two 3cm-wide columns. (or two 3 inch wide columns depending where you are.) There's more information about all of this, and examples, in the links below and elsewhere online.

img

(Sorry if it looks like an American football play diagram... I almost missed circling a step so I added it oout-of-order, can you tell which one?! :-) Let me know if you have any questions...)


More Information:

查看更多
登录 后发表回答