共用方式為


OlkComboBox.AutoSize Property (Outlook)

Returns or sets a Boolean that automatically sizes the control to display the entire contents. Read/write.

Version Information

Version Added: Outlook 2007

Syntax

expression .AutoSize

expression A variable that represents an OlkComboBox object.

Remarks

The default value for this property is False.

Setting AutoSize to True automatically sets the width of the display area to the length of the text in the combo box. This behavior is similar to the single-line text box.

See Also

Concepts

OlkComboBox Object Members

OlkComboBox Object