property ComboBox.HeightList([Reserved as Variant]) as Long

Specifies the height of the control's drop-down window.

TypeDescription
Reserved as Variant Reserved.
Long A long expression that specifies the height of the control's drop-down window.

The HeightList property specify the height of the control's drop down window. The HeighList property has no effect if the Style property is Simple. Use the WidthList property to specify the width of the control's drop down window. Use the MinHeightList property to specify the minimum height of the control's drop down window. Use the IntegralHeight property to avoid showing partial items. Use the LabelHeight property to specify the height of the control's label area. Use the AllowSizeGrip property to specify whether the drop down portion of the control is resizable at runtime.

The following VB sample specifies the drop down height:

ComboBox1.HeightList() = 100

The following C++ sample specifies the height of the drop down portion of the control:

COleVariant vtMissing; V_VT( &vtMissing ) = VT_ERROR;
m_combobox.SetHeightList( vtMissing, 100 );

The following VB.NET sample specifies the height of the drop down portion of the control:

AxComboBox1.set_HeightList(100)

The following C# sample specifies the height of the drop down portion of the control:

axComboBox1.set_HeightList(100);

The following VFP sample specifies the height of the drop down portion of the control:

with thisform.ComboBox1.Object
	.HeightList("") = 100
endwith