Specifies the contents of the first column of the selected item in a ListBox or ComboBox control. Available at design time and run time.
Syntax
[Form.]Control.DisplayValue[ = Expr]
Settings
Expr
If DisplayValue is a character string, specifies the value of the first column of the selected item. If DisplayValue is numeric, specifies the index of the selected item.
Remarks
Use the DisplayValue property when a ComboBox or ListBox has more than one column and the control's BoundColumn property is set to a value greater than 1. The text displayed in the text box portion of the ComboBox is specified by DisplayValue when DisplayValue is a character string.
Note When a ComboBox or ListBox has only one column, the DisplayValue property and Value property of the control have the same setting if both contain character strings.