listWidth

Type: Integer

Availability: Read or write at any time

The listWidth property contains the width (in pixels) of the drop-down list box portion of the ComboBox control. By default, the list is the same width as the combo box (that is, listWidth = 0).

Setting this property to a value greater than zero (0) sets the width of the drop-down list to that number of pixels. For example, if a combo box contains the following list, the combo box only needs to be wide enough to show the code value.

N – None
S – Single
M - Married

You can use the listWidth property to set the width of the drop-down list so that it displays the full text of each item in the list.

The listWidth property does not apply to a simple (Style_Simple) or to a spin (Style_SpinBox) style combo box. The property value is reset to zero (0) for combo boxes of these styles.