OlkControl Properties (Outlook)

GitHub-Mark-64px

Contribute to this content

Use GitHub to suggest and submit changes. See our guidelines for contributing to VBA documentation.

Name

Description

ControlProperty

Returns or sets a String that represents the property on the control that the databind occurs with. Read/write.

EnableAutoLayout

Returns or sets a Boolean that enables automatic adjustments of the layout for the control with respect to the rest of the form. Read/write.

Format

Returns or sets a Long that specifies how a value is to be displayed in the control. Read/write.

HorizontalLayout

Returns or sets an OlHorizontalLayout constant that specifies any alignment in the horizontal direction of this control with other selected controls on the form, or whether the control is adjusted in the horizontal direction automatically when the form's width is changed. Read/write.

ItemProperty

Returns or sets a String that specifies the name of the property in the Outlook object model that the control is bound to. Read/write.

MinimumHeight

Returns or sets a Long that specifies the minimum height the control can be automatically sized down to. Read/write.

MinimumWidth

Returns or sets a Long that specifies the minimum width the control can be automatically sized down to. Read/write.

PossibleValues

Returns or sets a String that represents a list of possible values for the drop-down list for the control, seperated by semicolons. Read/write.

VerticalLayout

Returns or sets an OlVerticalLayout constant that specifies any alignment in the vertical direction of this control with other selected controls on the form, or whether the control is adjusted in the vertical direction automatically when the form's length is changed. Read/write.

Show: