OlkTextBox.EnterKeyBehavior property (Outlook)

Returns or sets a Boolean that defines the way the ENTER key behaves in the control. Read/write.

Syntax

expression. EnterKeyBehavior

expression A variable that represents an OlkTextBox object.

Remarks

When this property is True, pressing ENTER creates a new line. When this property is False, pressing ENTER moves the focus to the next control in tab order. The default value for this property is False.

See also

OlkTextBox Object

Support and feedback

Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.