Table of contents
Collapse the table of content
Expand the table of content

ComboBox Control

office 365 dev account|Last Updated: 6/12/2017
1 Contributor

Combines the features of a ListBox and a TextBox. The user can enter a new value, as with a TextBox, or the user can select an existing value as with a ListBox. Remarks If a ComboBox isbound to adata source, then the ComboBox inserts the value the user enters or selects into that data source. If a multicolumn combo box is bound, then the BoundColumn property determines which value is stored in the bound data source. The list in a ComboBox consists of rows of data. Each row can have one or more columns, which can appear with or without headings. Some applications do not support column headings, others provide only limited support. The default property of a ComboBox is the Value property. The default event of a ComboBox is the Change event.

Note If you want more than a single line of the list to appear at all times, you might want to use a ListBox instead of a ComboBox. If you want to use a ComboBox and limit values to those in the list, you can set the Style property of the ComboBox so the control looks like a drop-down list box.

ComboBox Object

© 2018 Microsoft